Thread overview | ||||||
---|---|---|---|---|---|---|
|
June 11, 2012 [Issue 8226] New: Global lambda assign to const/immutable | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=8226 Summary: Global lambda assign to const/immutable Product: D Version: D2 Platform: x86 OS/Version: Windows Status: NEW Keywords: rejects-valid Severity: normal Priority: P2 Component: DMD AssignedTo: nobody@puremagic.com ReportedBy: bearophile_hugs@eml.cc --- Comment #0 from bearophile_hugs@eml.cc 2012-06-11 14:02:59 PDT --- immutable f = (int x) => x; void main() {} DMD 2.060alpha gives: test.d(1): Error: non-constant nested delegate literal expression __lambda1 (According to nazriel on IRC #D, dmd 2.059 gives an internal error backend/elfobj.c 455, and LDC compiles it). -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
June 12, 2012 [Issue 8226] Global lambda assign to const/immutable | ||||
---|---|---|---|---|
| ||||
Posted in reply to bearophile_hugs@eml.cc | http://d.puremagic.com/issues/show_bug.cgi?id=8226 Kenji Hara <k.hara.pg@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |pull Platform|x86 |All OS/Version|Windows |All --- Comment #1 from Kenji Hara <k.hara.pg@gmail.com> 2012-06-11 19:30:37 PDT --- https://github.com/D-Programming-Language/dmd/pull/999 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
June 14, 2012 [Issue 8226] Global lambda assign to const/immutable | ||||
---|---|---|---|---|
| ||||
Posted in reply to bearophile_hugs@eml.cc | http://d.puremagic.com/issues/show_bug.cgi?id=8226 --- Comment #2 from github-bugzilla@puremagic.com 2012-06-14 00:36:07 PDT --- Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/c6eac5a257644cfef0b29fe2c23f61bc339cfb69 fix Issue 8226 - Global lambda assign to const/immutable https://github.com/D-Programming-Language/dmd/commit/a6fc13b1101efb66b00391343d837ac0cbcf9620 Merge pull request #999 from 9rnsr/fix8226 Issue 8226 - Global lambda assign to const/immutable -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
June 14, 2012 [Issue 8226] Global lambda assign to const/immutable | ||||
---|---|---|---|---|
| ||||
Posted in reply to bearophile_hugs@eml.cc | http://d.puremagic.com/issues/show_bug.cgi?id=8226 Walter Bright <bugzilla@digitalmars.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |bugzilla@digitalmars.com Resolution| |FIXED -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
Copyright © 1999-2021 by the D Language Foundation