Typehinting merge #50

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

20
tests/switch_block.aer Normal file
View File

@ -0,0 +1,20 @@
class Program {
void main() {
int $a = 1;
switch($a) {
case 0:
print("very bad\n");
break;
case 1:
print("very good\n");
case 2:
print("good\n");
break;
default:
print("bad");
break;
}
}
}

2
tests/switch_block.exp Normal file
View File

@ -0,0 +1,2 @@
very good
good