Aer/TODO

17 lines
746 B
Plaintext
Raw Normal View History

2018-11-07 19:53:15 +01:00
TODO list for typehinting branch.
Below list contains things that should be changed/fixed/implemented.
2019-03-09 13:40:24 +01:00
1. int[] $arr = {5, 5};
2018-11-07 19:53:15 +01:00
This syntax is unsupported yet. Should replace the array() function.
2019-03-18 08:59:28 +01:00
2. Some builtin functions like isset() seems to be useless, if variable is not defined, interpreter will throw an error.
2019-03-18 12:08:35 +01:00
3. Interpreter does not check, if all methods from interface being implemented are defined in class.
4. object $x = new OOP(); fails with 'Return with a value in closure/method returning void'
5. Accessing private attribute from parent class fails with 'Undefined class attribute' instead of error about visibility.
2019-03-18 12:26:21 +01:00
6. Interpreter does not check if all methods match their signatures from interfaces and virtual classes.