Skip to content

Commit

Permalink
fix error report pos
Browse files Browse the repository at this point in the history
  • Loading branch information
jilen committed Nov 28, 2017
1 parent 133dfa3 commit c2402e7
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -355,7 +355,7 @@ trait Parsing {

private def rejectOptions(a: Tree, b: Tree) = {
if ((!is[Null](a) && is[Option[_]](a)) || (!is[Null](b) && is[Option[_]](b)))
c.fail("Can't compare `Option` values since databases have different behavior for null comparison. Use `Option` methods like `forall` and `exists` instead.")
c.abort(a.pos, "Can't compare `Option` values since databases have different behavior for null comparison. Use `Option` methods like `forall` and `exists` instead.")
}

val equalityOperationParser: Parser[Operation] = Parser[Operation] {
Expand Down

0 comments on commit c2402e7

Please sign in to comment.