Thread overview | |||||||||
---|---|---|---|---|---|---|---|---|---|
|
June 11, 2019 [Issue 19950] access violation at compile time, possibly via static foreach and alias interaction | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=19950 --- Comment #1 from emmanuelle <lakeavenger+dlangi@gmail.com> --- Actually, it seems you can create an even tinier example: --- alias Foo = NotHere; alias Bar = baz!(); void baz()(Foo) if (true) {} --- Which compiles fine (with a normal error) from dmd v2.060 until v2.066, but in v2.067 and v2.068 it has this cryptic error: --- onlineapp.d(1): Error: undefined identifier NotHere dmd: template.c:930: MATCH TemplateDeclaration::matchWithInstance(Scope*, TemplateInstance*, Objects*, Expressions*, int): Assertion `fd->type->ty == Tfunction' failed. --- And from v2.069 onwards it has a segfault/access violation. -- |
June 11, 2019 [Issue 19950] access violation at compile time, possibly via static foreach and alias interaction | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=19950 ag0aep6g <ag0aep6g@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |ice CC| |ag0aep6g@gmail.com Hardware|x86 |All OS|Windows |All -- |
June 11, 2019 [Issue 19950] access violation at compile time, possibly via template constraint and alias interaction | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=19950 emmanuelle <lakeavenger+dlangi@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|access violation at compile |access violation at compile |time, possibly via static |time, possibly via template |foreach and alias |constraint and alias |interaction |interaction -- |
July 18, 2019 [Issue 19950] access violation at compile time, possibly via template constraint and alias interaction | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=19950 Dlang Bot <dlang-bot@dlang.rocks> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |pull --- Comment #2 from Dlang Bot <dlang-bot@dlang.rocks> --- @Basile-z created dlang/dmd pull request #10195 "fix issue 19950 - access violation at compile time, possibly via template constraint and alias interaction" fixing this issue: - fix issue 19950 - access violation at compile time, possibly via template constraint and alias interaction https://github.com/dlang/dmd/pull/10195 -- |
July 19, 2019 [Issue 19950] access violation at compile time, possibly via template constraint and alias interaction | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=19950 Dlang Bot <dlang-bot@dlang.rocks> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #3 from Dlang Bot <dlang-bot@dlang.rocks> --- dlang/dmd pull request #10195 "fix issue 19950 - access violation at compile time, possibly via template constraint and alias interaction" was merged into stable: - 9cd97ab03969186b1d45c95a18abf8d43b6c40a1 by Basile Burg: fix issue 19950 - access violation at compile time, possibly via template constraint and alias interaction https://github.com/dlang/dmd/pull/10195 -- |
Copyright © 1999-2021 by the D Language Foundation