Closed Jozott00 closed 1 year ago
The error we get is correct and I don't think we should allow the example above.
Dynamic cast would be nice but I don't think it is necessary for a MVP of a language. I think we should first focus on more pressing issues ;)
Yes the error is perfectly fine
haha ok lets talk about it later
I'm going to close this since we decided that for now we won't implement it for now.
We need dynamic type casting.
Of course throws the Error:
But right know we have no possibility to use the dynamic type A of the variable a.