Typehinting test.
All checks were successful
The build was successful.

This commit is contained in:
2019-04-06 17:01:28 +02:00
parent 1679420f4c
commit 67f40db553
2 changed files with 66 additions and 0 deletions

23
tests/type_hinting.exp Normal file
View File

@@ -0,0 +1,23 @@
char(c)
bool(TRUE)
char()
bool(TRUE)
float(4)
bool(TRUE)
float(56.3)
bool(TRUE)
object()
bool(TRUE)
object(Program) {
['test'] =>
int(7)
}
bool(TRUE)
string(11 'sample text')
bool(TRUE)
string(0 '')
bool(TRUE)
void(NULL)
bool(TRUE)
void(NULL)
bool(TRUE)