Skip to content

Commit

Permalink
adjust test
Browse files Browse the repository at this point in the history
  • Loading branch information
crusso committed Sep 29, 2024
1 parent 0d79f79 commit 9210eab
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 8 deletions.
4 changes: 2 additions & 2 deletions test/run-drun/ok/unavailable-constructor.comp-ref.ok
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
unavailable-constructor.mo:3.1-11.2: type error [M0141], an actor or actor class must be the only non-imported declaration in a program
(This is a limitation of the current version and flag -ref-system-api.)
unavailable-constructor.mo:3.17-3.18: type error [M0056], variable C is in scope but not available in compiled code
unavailable-constructor.mo:6.31-6.32: type error [M0056], variable C is in scope but not available in compiled code
4 changes: 2 additions & 2 deletions test/run-drun/ok/unavailable-constructor.comp.ok
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
unavailable-constructor.mo:3.1-11.2: type error [M0141], an actor or actor class must be the only non-imported declaration in a program
(This is a limitation of the current version.)
unavailable-constructor.mo:3.17-3.18: type error [M0056], variable C is in scope but not available in compiled code
unavailable-constructor.mo:6.31-6.32: type error [M0056], variable C is in scope but not available in compiled code
3 changes: 1 addition & 2 deletions test/run-drun/ok/unavailable-constructor.tc.ok
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
unavailable-constructor.mo:1.6-1.7: warning [M0194], unused identifier f (delete or rename to wildcard `_` or `_f`)
unavailable-constructor.mo:7.17-7.21: warning [M0194], unused identifier ctxt (delete or rename to wildcard `_` or `_ctxt`)
unavailable-constructor.mo:5.17-5.21: warning [M0194], unused identifier ctxt (delete or rename to wildcard `_` or `_ctxt`)
2 changes: 0 additions & 2 deletions test/run-drun/unavailable-constructor.mo
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
func f() : async () { ignore await C(); };

actor class C() {

let _ : Any = C;
Expand Down

0 comments on commit 9210eab

Please sign in to comment.