Closed 9il closed 7 years ago
This code works in recent DMD and LDC <=1.1.x
void load(ref __vector(double[2]) a, double b) { a = b; }
LDC 1.2.0 output:
constant expression expected, not b
This feature is used in GLAS.
Hmm, compiles fine with master on Win64 (for Linux too), but I can reproduce it with 1.2.0-beta1.
Thanks for the report, fixed in branch release-1.2.x and will be in the next beta.
release-1.2.x
This code works in recent DMD and LDC <=1.1.x
LDC 1.2.0 output:
This feature is used in GLAS.