Skip to content
Browse files

Fix silly mistakes in #615 fix

  • Loading branch information...
1 parent fff3791 commit 8748cc38aba8a853ad83e6582471a997af5ff09b @nddrylliog nddrylliog committed
Showing with 2 additions and 2 deletions.
  1. +2 −2 source/rock/middle/Match.ooc
View
4 source/rock/middle/Match.ooc
@@ -90,7 +90,7 @@ Match: class extends Expression {
unwrappedExpr = true
} else {
if (res fatal) {
- res throwError(CouldntAddBeforeInScope new(token, parent, vdfe, trail))
+ res throwError(CouldntAddBeforeInScope new(token, this, vdfe, trail))
}
res wholeAgain(this, "need to unwrap expr")
return Response OK
@@ -190,7 +190,7 @@ Match: class extends Expression {
response := caze resolve(trail, res)
if(!response ok()) {
trail pop(this)
- rvDecleturn response
+ return response
}
}
trail pop(this)

0 comments on commit 8748cc3

Please sign in to comment.
Something went wrong with that request. Please try again.