Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ example ] Fix and refine a pil-fun's test #175

Merged
merged 1 commit into from
Aug 13, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions examples/pil-fun/tests/lang/usage/UsePil.idr
Original file line number Diff line number Diff line change
Expand Up @@ -35,31 +35,31 @@ program = do
Call Print [< V 1]
Nop

failing -- "Mismatch between: Int' and Bool'"
failing "Can't find an implementation for AtIndex" -- "Mismatch between: Int' and Bool'"
bad : Stmts StdF [<] Nothing
bad = do
NewV Int' {- 0 -} Mutable $ C 5
NewV Bool' {- 1 -} Mutable $ C False
1 #= F Plus [< V 0, C 1]
Nop

failing -- "Mismatch between: [<] and [<Int']"
failing "Mismatch between: [<] and [<Int']"
bad : Stmts StdF [<] Nothing
bad = do
NewV Int' {- 0 -} Mytable $ C 5
NewV Int' {- 1 -} Mutable $ C False
NewV Int' {- 0 -} Mutable $ C 5
NewV Int' {- 1 -} Mutable $ C 6
1 #= F Plus [< V 0]
Nop

failing -- "Mismatch between: Bool' and Int'"
failing "Mismatch between: Bool' and Int'"
bad : Stmts StdF [<] Nothing
bad = do
NewV Int' {- 0 -} Mutable $ C 5
NewV Int' {- 1 -} Mutable $ C False
1 #= F Plus [< C True, V 0]
Nop

failing -- "Can't find an implementation for AtIndex ... Int' Mutable"
failing "Can't find an implementation for AtIndex"
bad : Stmts StdF [<] Nothing
bad = do
NewV Int' {- 0 -} Mutable $ C 5
Expand Down