Closed enchorb closed 1 year ago
Odd. I understand why "yield" would be considered reserved, but not "Yield".
Keywords are meant to be case sensitive, so it seems like an overzealous transpiler. I don't consider this to be a bug within my code, but I will rename it to mitigate the issue.
This should be resolved in the v1.2.0 release.
The use of the class Yield causes an error when building in some instances where strict mode is enabled. (https://stackoverflow.com/questions/33316765/why-is-es6-yield-a-reserved-word-when-called-in-this-context)
or instance, my react native apps keeps failing to build because of it: