MontysCoconut/moco — pull request #2 by lummax (2014-09-26 16:16:25+00:00)
Title: Fix upcast with 'as' operator

Imagine: ```instance as SomeClass```

The check in TypeCheckVisitor would only check if `SomeClass` inherits the
class of `instance` but not the other way arround. This MR fixes the issue and adds test-cases.