nitlanguage
/
nit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from:
60feadd
)
syntax: if_false_variable_ctx
author
Jean Privat
<jean@pryen.org>
Mon, 22 Jun 2009 16:07:50 +0000
(12:07 -0400)
committer
Jean Privat
<jean@pryen.org>
Wed, 24 Jun 2009 19:47:49 +0000
(15:47 -0400)
Allow casts to be propagated in 'else' branches
Example:
if not a isa B then
a.only_b_can_do # Static error
else
a.only_b_can_do # OK since current static type of a is B here
end
Signed-off-by: Jean Privat <jean@pryen.org>
No differences found