Skip to content

Commit

Permalink
Merge branch 'main' into eladb/add-phase-to-typecheck
Browse files Browse the repository at this point in the history
  • Loading branch information
eladb authored Jun 30, 2023
2 parents db6718e + f808f84 commit 5055f82
Show file tree
Hide file tree
Showing 4 changed files with 218 additions and 62 deletions.
3 changes: 3 additions & 0 deletions examples/tests/invalid/class.w
Original file line number Diff line number Diff line change
Expand Up @@ -157,4 +157,7 @@ inflight class Jet extends Plane{
super();
// ^^^^^^^^ Expected 1 positional argument(s) but got 0
}
constructor() {
//^^^^^^^^^^^ To declare a initializer, use "init"
}
}
3 changes: 3 additions & 0 deletions examples/tests/invalid/unknown_symbol.w
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,6 @@ class A extends B {

unknown = 1;
//^ Unknown symbol

let let = 2;
//^^^ Reserved word
Loading

0 comments on commit 5055f82

Please sign in to comment.