Include import prefixes on type error messages - dart2js #33696
Labels
area-web-js
Issues related to JavaScript support for Dart Web, including DDC, dart2js, and JS interop.
web-dart2js
Similar to #33667 (CFE), #33693 (VM), and #33695 (DDC).
Here's a dartpad. Code:
Here's the runtime error:
Instead of Random0 (or in addition, whatever). It'd be nice if the error respected the prefixes that the user uses in their code, a step they've already taken to de-conflate the two classes, to read:
Or if its easier to not include a
.
, this would be fine:The text was updated successfully, but these errors were encountered: