dartdevc generates incorrect code for a function typed bounds check #31681
Labels
area-web-js
Issues related to JavaScript support for Dart Web, including DDC, dart2js, and JS interop.
type-bug
Incorrect behavior (everything from a crash to more subtle misbehavior)
web-dev-compiler
Consider the following program:
When compiling this with dartdevc (version 2.0.0-dev.7.0) and running it we get the following failure at run time:
Apparently, the message
ReferenceError: X is not defined
indicates thatXToX
is unable to perform it's duties because it refers toX
as a free variable:The text was updated successfully, but these errors were encountered: