October 03 [Issue 24790] New: -vcg-ast ICE on lowered assign exp | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=24790 Issue ID: 24790 Summary: -vcg-ast ICE on lowered assign exp Product: D Version: D2 Hardware: All OS: All Status: NEW Keywords: ice Severity: normal Priority: P3 Component: dmd Assignee: nobody@puremagic.com Reporter: dkorpel@live.nl ```D struct S { int[] payload; } long f(S s) => s.payload.length += 3; ``` Compiling with -vcg-ast trips an assert with "precedence not defined for token '='", because there's no PREC entry for EXP.loweredAssignExp. -- |
Copyright © 1999-2021 by the D Language Foundation