Skip to content

Commit

Permalink
merged
Browse files Browse the repository at this point in the history
  • Loading branch information
Felalolf committed Oct 3, 2023
2 parents 81cfc37 + 61d0bd9 commit 8f99cad
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/test/resources/regressions/issues/000589.gobra
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ decreases l
func length(l list) int {
match l {
case Empty{}:
//:: ExpectedOutput(assert_error:assertion_error)
//:: ExpectedOutput(assert_error:assertion_error)
assert false // <--- assert false here should be reachable
return 0
default:
Expand Down
3 changes: 2 additions & 1 deletion src/test/resources/regressions/issues/000655.gobra
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ func foo2() {
}

/*
// should work in the future:

ghost
pure func foo3(x pkg.Tree) bool {
return match x {
Expand All @@ -32,5 +34,4 @@ pure func foo3(x pkg.Tree) bool {
case _: false
}
}

*/
7 changes: 5 additions & 2 deletions src/test/resources/regressions/issues/000686-6.gobra
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@

package pkg

type X struct{
ghost f seq[int]
//:: ExpectedOutput(type_error)
type X adt {
A { x int }
B { x int }
}


0 comments on commit 8f99cad

Please sign in to comment.