Open KaptainMicila opened 3 years ago
I did some editing and now the situation is reversed:
Array<>
still breaks everything
Array<type>
is not broken anymore
Array<class<type>>
is detected as correct, and that's not good.
I decided to leave this as it is because:
Array<>
is not valid anyway (thanks phantombeta for the tip), but it still breaks everything.
Array<type>
has been resolved, and that's the best thing right now.
whoever is developing in ZScript has to know that Array<Class<Type>>
is not valid anyway, so I'm happy with these results, for now.
If some regex god manages to fix the problem with some regex miracle I will be even happier than I am now.
Array<>
breaks everythingArray<type>
is broken and requiresArray<type >
to fix.The correct syntax would be:
Array<type>
normallyArray<class<type> >
, to avoid colliding with the>>
operator.