Skip to content

Commit 6b72d05

Browse files
committed
Fix exception message
1 parent ad801c7 commit 6b72d05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

snap-compile/src/main/java/org/snapscript/compile/validate/TypeValidator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ private void validateProperties(Type type) throws Exception {
8686
properties.validate(property);
8787
}
8888
if(matches == 0) {
89-
throw new InternalStateException("Type '" + type + "' have property '" + require + "'");
89+
throw new InternalStateException("Type '" + type + "' has no property '" + require + "'");
9090
}
9191
}
9292
}

0 commit comments

Comments
 (0)