Thread overview | |||||||||
---|---|---|---|---|---|---|---|---|---|
|
September 20, 2015 [Issue 15089] Marks wrong line as where error occurs. | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=15089 ag0aep6g@gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |diagnostic CC| |ag0aep6g@gmail.com --- Comment #1 from ag0aep6g@gmail.com --- Thanks for reporting. You reduced/edited the code a bit too much. It doesn't actually show the problem anymore. But don't worry, I got you. Here's reduced code that still shows the wrong error message: ---- enum Pieces {Rook} /* line 1 */ immutable int color = 0b10000000; byte piece = Pieces.Rook ^ color; ---- test.d(1): Error: cannot implicitly convert expression (128) of type int to byte ---- For reference, this originated at Stack Overflow: http://stackoverflow.com/questions/32681660/compiler-thinks-enum-values-are-starting-at-129 -- |
September 20, 2015 [Issue 15089] Marks wrong line as where error occurs. | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=15089 ag0aep6g@gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |andrei@erdani.com --- Comment #2 from ag0aep6g@gmail.com --- *** Issue 15090 has been marked as a duplicate of this issue. *** -- |
September 20, 2015 [Issue 15089] Marks wrong line as where error occurs. | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=15089 Walter Bright <bugzilla@digitalmars.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bugzilla@digitalmars.com Hardware|x86_64 |All OS|Linux |All -- |
September 20, 2015 [Issue 15089] Marks wrong line as where error occurs. | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=15089 --- Comment #3 from Walter Bright <bugzilla@digitalmars.com> --- https://github.com/D-Programming-Language/dmd/pull/5106 -- |
September 21, 2015 [Issue 15089] Marks wrong line as where error occurs. | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=15089 --- Comment #4 from github-bugzilla@puremagic.com --- Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/e2a7a3a41bf63b7096b7ad844bb47dcf578b9743 fix Issue 15089 - Marks wrong line as where error occurs. https://github.com/D-Programming-Language/dmd/commit/d26cf5f2ae73b2d7e7b21c9af8716e1a931c5873 Merge pull request #5106 from WalterBright/fix15089 fix Issue 15089 - Marks wrong line as where error occurs. -- |
July 21, 2017 [Issue 15089] Marks wrong line as where error occurs. | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=15089 Vladimir Panteleev <dlang-bugzilla@thecybershadow.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bearophile_hugs@eml.cc --- Comment #5 from Vladimir Panteleev <dlang-bugzilla@thecybershadow.net> --- *** Issue 12337 has been marked as a duplicate of this issue. *** -- |
July 21, 2017 [Issue 15089] Marks wrong line as where error occurs. | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=15089 Vladimir Panteleev <dlang-bugzilla@thecybershadow.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|minor |regression --- Comment #6 from Vladimir Panteleev <dlang-bugzilla@thecybershadow.net> --- This was a regression, introduced in https://github.com/dlang/dmd/pull/2136. -- |
Copyright © 1999-2021 by the D Language Foundation