| Thread overview | |||||
|---|---|---|---|---|---|
|
August 22, 2022 [Issue 12682] Bad error messages with global assignment of mutable lambda value | ||||
|---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=12682 RazvanN <razvan.nitu1305@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |razvan.nitu1305@gmail.com --- Comment #1 from RazvanN <razvan.nitu1305@gmail.com> --- The problem is that this code is violating the grammar. DMD expects a declaration but we have an expression, so it just errors out with a silly token error. I don't know if this can be properly fixed, since you have to actually parse ahead to see what you got there and if multiple errors occur, then it's hard to know where to restart parsing. -- | ||||
December 17, 2022 [Issue 12682] Bad error messages with global assignment of mutable lambda value | ||||
|---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=12682 Iain Buclaw <ibuclaw@gdcproject.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P1 |P3 -- | ||||
February 17, 2023 [Issue 12682] Bad error messages with global assignment of mutable lambda value | ||||
|---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=12682 RazvanN <razvan.nitu1305@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |INVALID -- | ||||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply