You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sunarya-thito opened this issue
Dec 21, 2024
· 0 comments
Labels
area-webUse area-web for Dart web related issues, including the DDC and dart2js compilers and JS interop.type-bugIncorrect behavior (everything from a crash to more subtle misbehavior)
Uncaught Error: Error: Cannot set properties of undefined (setting '$flags')
at main.dart:114:65
at _wrapJsFunctionForAsync_closure.$protected (async_patch.dart:311:19)
at _wrapJsFunctionForAsync_closure.call$2 (async_patch.dart:336:23)
at _awaitOnObject_closure.call$1 (async_patch.dart:287:19)
at _RootZone.runUnary$2$2 (zone.dart:1676:46)
at _RootZone.runUnary$2 (zone.dart:1675:5)
at _Future__propagateToListeners_handleValueCallback.call$0 (future_impl.dart:169:29)
at Object._Future__propagateToListeners (future_impl.dart:931:13)
at _Future._completeWithValue$1 (future_impl.dart:707:5)
at _Future__asyncCompleteWithValue_closure.call$0 (future_impl.dart:777:7)
the result variable is not initialized with a value, but it tries to set its flag to 3
Dart Version
Dart SDK version: 3.6.0 (stable) (Thu Dec 5 07:46:24 2024 -0800) on "windows_x64"
I understand that the code isn't good or anything, but this shouldn't happen, right? I don't know what else it might cause, it runs perfectly on debug mode and other platform
The text was updated successfully, but these errors were encountered:
sunarya-thito
added
the
area-web
Use area-web for Dart web related issues, including the DDC and dart2js compilers and JS interop.
label
Dec 21, 2024
lrhn
added
the
type-bug
Incorrect behavior (everything from a crash to more subtle misbehavior)
label
Dec 22, 2024
area-webUse area-web for Dart web related issues, including the DDC and dart2js compilers and JS interop.type-bugIncorrect behavior (everything from a crash to more subtle misbehavior)
Steps to Reproduce
for example
or you can also compile it with dart2js, which generate the js code below
from
the
result
variable is not initialized with a value, but it tries to set its flag to 3Dart Version
I understand that the code isn't good or anything, but this shouldn't happen, right? I don't know what else it might cause, it runs perfectly on debug mode and other platform
The text was updated successfully, but these errors were encountered: