]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - gcc/d/dmd/cond.d
d: Merge upstream dmd 3982604c5, druntime bc58b1e9, phobos 12329adb6.
[thirdparty/gcc.git] / gcc / d / dmd / cond.d
index 05bd4bd550d1c69ab70d6a75e99d29fa2cbaaba0..abf28144c41baa8c8e70f724c8d71f31e058a3f6 100644 (file)
@@ -152,7 +152,7 @@ extern (C++) final class StaticForeach : RootObject
         sc = sc.endCTFE();
         el = el.optimize(WANTvalue);
         el = el.ctfeInterpret();
-        if (el.op == TOK.int64)
+        if (el.op == EXP.int64)
         {
             Expressions *es = void;
             if (auto ale = aggr.isArrayLiteralExp())