Skip to content

Commit

Permalink
old error
Browse files Browse the repository at this point in the history
  • Loading branch information
crusso committed Sep 27, 2024
1 parent bc756d3 commit 282f7eb
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/run-drun/bad-actor.mo
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
type T = {};
actor {

}
2 changes: 2 additions & 0 deletions test/run-drun/ok/bad-actor.comp-ref.ok
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
bad-actor.mo:2.1-4.2: type error [M0038], misplaced await
bad-actor.mo:2.1-4.2: type error [M0037], misplaced async expression; try enclosing in an async function
1 change: 1 addition & 0 deletions test/run-drun/ok/bad-actor.comp-ref.ret.ok
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Return code 1
2 changes: 2 additions & 0 deletions test/run-drun/ok/bad-actor.comp.ok
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
bad-actor.mo:2.1-4.2: type error [M0038], misplaced await
bad-actor.mo:2.1-4.2: type error [M0037], misplaced async expression; try enclosing in an async function
1 change: 1 addition & 0 deletions test/run-drun/ok/bad-actor.comp.ret.ok
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Return code 1

0 comments on commit 282f7eb

Please sign in to comment.