diff --git a/rascal-textmate-core/src/main/rascal/util/ListUtil.rsc b/rascal-textmate-core/src/main/rascal/util/ListUtil.rsc index 036a03f..7c4a7a0 100644 --- a/rascal-textmate-core/src/main/rascal/util/ListUtil.rsc +++ b/rascal-textmate-core/src/main/rascal/util/ListUtil.rsc @@ -32,4 +32,4 @@ list[&T] dupLast(list[&T] l) = reverse(dup(reverse(l))); // TODO: Optimize/avoid } bool isStrictPrefix(list[&T] l1, list[&T] l2) - = size(l1) < size(l2) && l1 == l2[..size(l2)]; \ No newline at end of file + = size(l1) < size(l2) && l1 == l2[..size(l1)]; \ No newline at end of file