summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
7bc61db)
A warning at most
Signed-off-by: Jean Privat <jean@pryen.org>
end
if t1 isa MNullType then
end
if t1 isa MNullType then
- v.error(n_expr, "Type Error: `or else` on `null`.")
+ self.mtype = t2
+ return
else if v.check_can_be_null(n_expr, t1) then
t1 = t1.as_notnull
end
else if v.check_can_be_null(n_expr, t1) then
t1 = t1.as_notnull
end