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

Language test failure in minified mode #12605

Closed
crelier opened this issue Aug 21, 2013 · 2 comments
Closed

Language test failure in minified mode #12605

crelier opened this issue Aug 21, 2013 · 2 comments
Labels
closed-as-intended Closed as the reported issue is expected behavior

Comments

@crelier
Copy link
Contributor

crelier commented Aug 21, 2013

This language test fails in minified mode:

FAILED: dart2dart-vm release_ia32 language/f_bounded_quantification4_test
Expected: pass
Actual: fail
CommandOutput[dart2dart]:
CommandOutput[vm]:

stderr:
Unhandled exception:
Expect.equals(expected: <B<B>>, actual: <M<M>>) fails.

­0 N.J (file:///usr/local/google/home/regis/dart1/dart/out/ReleaseIA32/generated_tests/dart2dart-vm-minified/tests_language_f_bounded_quantification4_test/out.dart:1:1178)

­1 N.P (file:///usr/local/google/home/regis/dart1/dart/out/ReleaseIA32/generated_tests/dart2dart-vm-minified/tests_language_f_bounded_quantification4_test/out.dart:1:1061)

­2 main (file:///usr/local/google/home/regis/dart1/dart/out/ReleaseIA32/generated_tests/dart2dart-vm-minified/tests_language_f_bounded_quantification4_test/out.dart:1:61)

Command[dart2dart]: sdk/bin/dart2js --allow-mock-compilation --categories=all --minify --package-root=out/ReleaseIA32/packages/ /usr/local/google/home/regis/dart1/dart/tests/language/f_bounded_quantification4_test.dart --output-type=dart --out=/usr/local/google/home/regis/dart1/dart/out/ReleaseIA32/generated_tests/dart2dart-vm-minified/tests_language_f_bounded_quantification4_test/out.dart
Took 0:00:00.750000

Command[vm]: out/ReleaseIA32/dart --ignore-unrecognized-flags /usr/local/google/home/regis/dart1/dart/out/ReleaseIA32/generated_tests/dart2dart-vm-minified/tests_language_f_bounded_quantification4_test/out.dart
Took 0:00:00.030000

Short reproduction command (experimental):
    python tools/test.py -mrelease -t60 --minified -cdart2dart language/f_bounded_quantification4_test

@sethladd
Copy link
Contributor

Added Triaged label.

@floitschG
Copy link
Contributor

The output of runtimeType.toString is not specified. In minified mode dart2js does not keep the original names of the classes, and the tests therefore fail.


Added AsDesigned label.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
closed-as-intended Closed as the reported issue is expected behavior
Projects
None yet
Development

No branches or pull requests

4 participants