We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Consider example:
@:constant var timeOffset:Float = @byDefault Date.now().getTimezoneOffset()/(-60);
If overriden during model init this will give a warning ... has extra field timeOffset
... has extra field timeOffset
Real problem is the precedence of metadata over binary operators, which is fixed by wrapping data:
@:constant var timeOffset:Float = @byDefault (Date.now().getTimezoneOffset()/(-60));
Coconut should give a warning when metadata is detected with binary operators.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Consider example:
If overriden during model init this will give a warning
... has extra field timeOffset
Real problem is the precedence of metadata over binary operators, which is fixed by wrapping data:
Coconut should give a warning when metadata is detected with binary operators.
The text was updated successfully, but these errors were encountered: