Open sergiotaborda opened 1 year ago
Remove the getType() method from the Any contract and adopt a Mirror API. This way the api can be implemented for each platform independently.
Instead of
would be
Remove the getType() method from the Any contract and adopt a Mirror API. This way the api can be implemented for each platform independently.
Instead of
stringClass : Type = "Hello".getType()
would be
stringClass : Type = Reflection.mirror( "Hello");