Skip to content

Commit

Permalink
Fix type of overriding methods in tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
elliottslaughter committed Aug 16, 2022
1 parent 9031f14 commit eff1c36
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/class.t
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ struct C(Class(B)) {
terra C:combine(a : int) : int
return self.c + self.a + self.b + a
end
terra C:times2() : double
terra C:times2() : int
return self.a * 4
end

Expand Down
2 changes: 1 addition & 1 deletion tests/class6.t
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ struct C(Class(B)) {
terra C:combine(a : int) : int
return self.c + self.a + self.b + a
end
terra C:times2() : double
terra C:times2() : int
return self.a * 4
end

Expand Down

0 comments on commit eff1c36

Please sign in to comment.