syntax: while condition can now cast variable
authorJean Privat <jean@pryen.org>
Mon, 22 Jun 2009 18:19:12 +0000 (14:19 -0400)
committerJean Privat <jean@pryen.org>
Wed, 24 Jun 2009 19:48:18 +0000 (15:48 -0400)
Example:
  var a = foo # foo gives a A
  # Before the while, the base static type of a is set to A
  while a isa B do
    a.some_b_stuff # OK, since a isa B
    a = foo # OK, since 'base' static type of a is A
  end

Signed-off-by: Jean Privat <jean@pryen.org>


No differences found