diff --git a/src/org/rascalmpl/library/util/Validator.rsc b/src/org/rascalmpl/library/util/Validator.rsc index 3b561c2a36f..db2f1215507 100644 --- a/src/org/rascalmpl/library/util/Validator.rsc +++ b/src/org/rascalmpl/library/util/Validator.rsc @@ -31,7 +31,7 @@ private data RuntimeException = none(); &T validate(type[&T] expected, node v, list[value] path = [], bool relaxed=false) { Symbol lookup(str name, [*_,label(key, sym),*_]) = sym; default Symbol lookup(str _, list[Symbol] _) = \value(); - Symbol unlabe(label(_, Symbol sym)) = sym; + Symbol unlabel(label(_, Symbol sym)) = sym; default Symbol unlabel(Symbol sym) = sym; if (expected.symbol == \node()) {