Skip to content

Commit

Permalink
Reproduce #3121 (#3122)
Browse files Browse the repository at this point in the history
  • Loading branch information
ggreif authored Feb 24, 2022
1 parent e643169 commit ab57044
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions test/run/3121-imp.mo
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
import { Array_init = init } = "mo:⛔"
1 change: 1 addition & 0 deletions test/run/3121.mo
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
import Dep "3121-imp"
1 change: 1 addition & 0 deletions test/run/ok/3121.tc.ok
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3121-imp.mo:1.8-1.29: type error [M0015], only trivial patterns allowed in static expressions
1 change: 1 addition & 0 deletions test/run/ok/3121.tc.ret.ok
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Return code 1

0 comments on commit ab57044

Please sign in to comment.