This is already done, even methods do not support strict data type hinting.
The build was successful. Details

This commit is contained in:
Rafal Kupiec 2019-03-17 19:41:32 +01:00
parent 9934489ed9
commit 128f4bba01
Signed by: belliash
GPG Key ID: 4E829243E0CFE6B4
1 changed files with 2 additions and 4 deletions

6
TODO
View File

@ -9,8 +9,6 @@ Below list contains things that should be changed/fixed/implemented.
3. Methods declaration / definition still uses function keyword.
4. PH7_OP_DONE operator should check if return value match the data type of declared method/closure.
4. Some builtin functions like isset() seems to be useless, if varaible is not defined, interpreter will throw an error.
5. Some builtin functions like isset() seems to be useless, if varaible is not defined, interpreter will throw an error.
6. Interpreter should verify that Program::main() returns a value of int or void data type.
5. Interpreter should verify that Program::main() returns a value of int or void data type.