Skip to content
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

Example 4 crashes on startup in checked mode #1

Closed
jonek opened this issue Jul 24, 2013 · 2 comments
Closed

Example 4 crashes on startup in checked mode #1

jonek opened this issue Jul 24, 2013 · 2 comments
Assignees
Labels

Comments

@jonek
Copy link

jonek commented Jul 24, 2013

Using latest dart sdk: 0.6.9.2_r25388

When launching the application in dartium, selecting example 4 from the drop down box results in an error:

"Breaking on exception: type 'List' is not a subtype of type 'List' of 'elements'."
This refers to line 167 in typed_data.dart:
" factory Float32List.fromList(List < double > elements) {"

Running the application in production mode does not reveal the problem.

@jtmcdole
Copy link
Owner

Thanks for the report, I'll check it out as soon as possible!

jtmcdole added a commit that referenced this issue Jul 25, 2013
Looks like Dartium is complaining that a list of num's isn't the same as a
list of doubles. Not sure if this is a dartium specific bug, but fixing
eitherway.
@jtmcdole
Copy link
Owner

Fixed. Not sure why Dartium started getting more stick about types, but I might forward this to the Dart team for comment.

@ghost ghost assigned jtmcdole Sep 21, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants