-
Notifications
You must be signed in to change notification settings - Fork 1.7k
[vm] NNBD - Instance Type: class 'Never'
is not canonical
#40249
New issue
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
Comments
Fixing the first error:
Edit: Scratch that, that will just push the null value around:
|
/cc @crelier |
I haven't check yet if any of the fixes landed last week fixed this. I made a CL for the repro: https://dart-review.googlesource.com/c/sdk/+/134320. edit: still failing: https://logs.chromium.org/logs/dart/buildbucket/cr-buildbucket.appspot.com/8889367976788673424/+/steps/build_dart/0/stdout |
Thanks for the repro. I'll have a look today. |
Now it fails a bit later in the build step with
https://logs.chromium.org/logs/dart/buildbucket/cr-buildbucket.appspot.com/8889307427402633328/+/steps/build_dart/0/stdout |
Arrgh, I patched your repro in the wrong workspace and did not test this properly. Sorry. I'll get back to it... |
Dart-bot mistakenly closed this issue. Reopening. |
Thanks @crelier! https://dart-review.googlesource.com/c/sdk/+/134320 is in! |
Uh oh!
There was an error while loading. Please reload this page.
Using
Never
as a type argument indart:ffi
breaks the NNBD debug build.Is this on your NNBD-work radar @liamappelbe @a-siva?
If not, I'm happy to look at it myself.
How to repro, change
<Null>
to<Never>
in:sdk/sdk_nnbd/lib/ffi/ffi.dart
Line 31 in 1b6d34c
I expect us to need something like the following in object.cc:
Full log:
https://logs.chromium.org/logs/dart/buildbucket/cr-buildbucket.appspot.com/8890659953347632368/+/steps/build_dart/0/stdout
Blocks: #40233
The text was updated successfully, but these errors were encountered: