Skip to content

Commit

Permalink
Fixed type error
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulKlint committed Jun 1, 2023
1 parent 15e3b4b commit b1594ba
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,10 @@ test bool originTracking() {

poss = [<x.src, x.line> | /node x := example, x.line?]; // every node has a .src field, otherwise this fails with an exception

for (<loc p, str line> <- poss) {
for (<loc p, int line> <- poss) {
assert content[p.offset] == "{"; // all nodes start with a {
assert content[p.offset + p.length - 1] == "}"; // all nodes end with a }
assert "<p.begin.line>" == line;
assert p.begin.line == line;
}
return true;
Expand Down

0 comments on commit b1594ba

Please sign in to comment.