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
var el = new html.ImageElement(); el.src = "image.jpg";
Results in "Field 'src' is final". I am seeing this behavior with other objects as well.
html.CanvasElement canvas = html.document.query('#canvas'); html.CanvasRenderingContext2D ctx = canvas.getContext('2d'); ctx.fillStyle = game.bgStyle;
fillStyle and others give warnings about fields being final.
void onRequest(HttpRequest req, HttpResponse res){ res.statusCode = HttpStatus.NOT_FOUND; res.contentLength = _notFoundPage.length;
statusCode and contentLength do the same.
The text was updated successfully, but these errors were encountered:
Added Duplicate label. Marked as being merged into #3248.
Sorry, something went wrong.
scheglov
No branches or pull requests
var el = new html.ImageElement();
el.src = "image.jpg";
Results in "Field 'src' is final". I am seeing this behavior with other objects as well.
html.CanvasElement canvas = html.document.query('#canvas');
html.CanvasRenderingContext2D ctx = canvas.getContext('2d');
ctx.fillStyle = game.bgStyle;
fillStyle and others give warnings about fields being final.
void onRequest(HttpRequest req, HttpResponse res){
res.statusCode = HttpStatus.NOT_FOUND;
res.contentLength = _notFoundPage.length;
statusCode and contentLength do the same.
The text was updated successfully, but these errors were encountered: