]> gerrit.simantics Code Review - simantics/platform.git/commitdiff
(refs #7404) Fixed a typo in the error message. 97/797/1
authorHannu Niemistö <hannu.niemisto@semantum.fi>
Wed, 2 Aug 2017 11:19:35 +0000 (14:19 +0300)
committerHannu Niemistö <hannu.niemisto@semantum.fi>
Wed, 2 Aug 2017 11:19:35 +0000 (14:19 +0300)
Change-Id: Id7e134d8c8648e40ddc440257888e067e083451a

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]);