Thread overview | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
|
May 23 [Issue 24560] dmd crash on imported function with default parameter containing `new` | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=24560 --- Comment #1 from hsteoh@qfbox.info --- This bug has existed at least since 2.108.1, since ldc2 1.38.0, which is based on 2.108.1, shows the same problem (segfault upon compiling the above code). -- |
May 23 [Issue 24560] dmd crash on imported function with default parameter containing `new` | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=24560 hsteoh@qfbox.info changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |ice, ice-on-valid-code -- |
May 23 [Issue 24560] dmd crash on imported function with default parameter containing `new` | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=24560 --- Comment #2 from hsteoh@qfbox.info --- Also affects LDC 1.38.0: https://github.com/ldc-developers/ldc/issues/4669 -- |
May 23 [Issue 24560] dmd crash on imported function with default parameter containing `new` | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=24560 hsteoh@qfbox.info changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|critical |regression --- Comment #3 from hsteoh@qfbox.info --- Changed to regression: code compiles with 2.107.1. -- |
May 24 [Issue 24560] dmd crash on imported function with default parameter containing `new` | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=24560 RazvanN <razvan.nitu1305@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |razvan.nitu1305@gmail.com --- Comment #4 from RazvanN <razvan.nitu1305@gmail.com> --- The import is not necessary. Having the code in a single file also segfaults: class C { } struct S { static void fun(C heur = new C) { } } void main() { S.fun(); } -- |
May 24 [Issue 24560] dmd crash on imported function with default parameter containing `new` | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=24560 RazvanN <razvan.nitu1305@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|nobody@puremagic.com |razvan.nitu1305@gmail.com -- |
May 24 [Issue 24560] dmd crash on imported function with default parameter containing `new` | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=24560 Dlang Bot <dlang-bot@dlang.rocks> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |pull --- Comment #5 from Dlang Bot <dlang-bot@dlang.rocks> --- @RazvanN7 created dlang/dmd pull request #16519 "Fix Bugzilla Issue 24560 - dmd crash on imported function with default parameter containing new" fixing this issue: - Fix Bugzilla Issue 24560 - dmd crash on imported function with default parameter containing new https://github.com/dlang/dmd/pull/16519 -- |
May 27 [Issue 24560] dmd crash on imported function with default parameter containing `new` | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=24560 Dlang Bot <dlang-bot@dlang.rocks> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #6 from Dlang Bot <dlang-bot@dlang.rocks> --- dlang/dmd pull request #16519 "Fix Bugzilla Issue 24560 - dmd crash on imported function with default parameter containing new" was merged into stable: - 2afa92c00a5f04604ac8834a48c7cbb3ba605e2d by RazvanN7: Fix Bugzilla Issue 24560 - dmd crash on imported function with default parameter containing new https://github.com/dlang/dmd/pull/16519 -- |
June 02 [Issue 24560] dmd crash on imported function with default parameter containing `new` | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=24560 --- Comment #7 from Dlang Bot <dlang-bot@dlang.rocks> --- dlang/dmd pull request #16553 "merge stable" was merged into master: - ee4f5a04ffa272cf9c9fa4a134fc71559d0851b3 by RazvanN7: Fix Bugzilla Issue 24560 - dmd crash on imported function with default parameter containing new https://github.com/dlang/dmd/pull/16553 -- |
Copyright © 1999-2021 by the D Language Foundation