nitlanguage
/
nit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
combined
(merge:
ae0334b
958d841
)
Merge: typing: include a hook to enable more precise error information on 'expected...
author
Jean Privat
<jean@pryen.org>
Thu, 3 Mar 2016 07:35:01 +0000
(
02:35
-0500)
committer
Jean Privat
<jean@pryen.org>
Thu, 3 Mar 2016 07:35:01 +0000
(
02:35
-0500)
The point is to help to solve the second part of #1392
Before:
~~~
print (-1).to_s
^
test.nit:2,1--10: Error: expected an expression.
~~~
After:
~~~
print (-1).to_s
^
test.nit:2,1--10: Error: expected an expression to be the receiver of `to_s`
~~~
Pull-Request: #1963
Reviewed-by: Alexis Laferrière <alexis.laf@xymus.net>
Trivial merge