]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.scl.compiler/src/org/simantics/scl/compiler/elaboration/query/QNegation.java
Merged changes from feature/scl to master.
[simantics/platform.git] / bundles / org.simantics.scl.compiler / src / org / simantics / scl / compiler / elaboration / query / QNegation.java
index 373efa413ddbb09a6e5d7ec302f8e823f866c858..030d419f7e6153cdc2bc0cce90c8b830c20ac57d 100644 (file)
@@ -1,6 +1,6 @@
 package org.simantics.scl.compiler.elaboration.query;
 
-import org.simantics.scl.compiler.common.names.Name;
+import org.simantics.scl.compiler.common.names.Names;
 import org.simantics.scl.compiler.elaboration.contexts.ReplaceContext;
 import org.simantics.scl.compiler.elaboration.expressions.EApply;
 import org.simantics.scl.compiler.elaboration.expressions.QueryTransformer;
@@ -60,7 +60,7 @@ public class QNegation extends QAbstractModifier {
             @Override
             public void generate(QueryCompilationContext context) {
                 context.condition(new EApply(
-                        context.getConstant(Name.create("Prelude", "not"), Type.EMPTY_ARRAY),
+                        context.getConstant(Names.Prelude_not, Type.EMPTY_ARRAY),
                         innerContext.getContinuation()));
             }
         });