Typehinting merge #50

Merged
belliash merged 298 commits from typehinting into master 2019-04-17 11:27:52 +02:00
2 changed files with 17 additions and 0 deletions
Showing only changes of commit c2b3cc1a2f - Show all commits

16
tests/magic_method.aer Normal file
View File

@ -0,0 +1,16 @@
class Dog {
void __invoke() {
print("I am a dog!\n");
}
}
class Program {
void main() {
object $dog = new Dog();
$dog();
}
}

1
tests/magic_method.exp Normal file
View File

@ -0,0 +1 @@
I am a dog!