]> gerrit.simantics Code Review - simantics/platform.git/commitdiff
Merge "PropertyMap.get does not return null if there is no mapping for the key"
authorHannu Niemistö <hannu.niemisto@semantum.fi>
Thu, 3 Aug 2017 06:48:31 +0000 (09:48 +0300)
committerGerrit Code Review <gerrit2@www.simantics.org>
Thu, 3 Aug 2017 06:48:31 +0000 (09:48 +0300)
bundles/org.simantics.scl.compiler/src/org/simantics/scl/compiler/elaboration/expressions/EAmbiguous.java

index 7434bf2acfecbb9b128685bc9e9283e5e0ea17d5..09397ba058a297f7c3ce8c146eb8a28e5cad9613 100644 (file)
@@ -76,7 +76,7 @@ public class EAmbiguous extends SimplifiableExpression {
         StringBuilder b = new StringBuilder();
         b.append("Expected <");
         requiredType.toString(new TypeUnparsingContext(), b);
-        b.append(">, but no alteratives match the type: ");
+        b.append(">, but no alternatives match the type: ");
         for(int i=0;i<alternatives.length;++i) {
             b.append("\n    ");
             b.append(alternatives[i]);