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

dart2js: semantics of multiple scripts #8280

Closed
DartBot opened this issue Feb 3, 2013 · 7 comments
Closed

dart2js: semantics of multiple scripts #8280

DartBot opened this issue Feb 3, 2013 · 7 comments
Labels
closed-obsolete Closed as the reported issue is no longer relevant P2 A bug or feature request we're likely to work on type-bug Incorrect behavior (everything from a crash to more subtle misbehavior) web-dart2js

Comments

@DartBot
Copy link

DartBot commented Feb 3, 2013

This issue was originally filed by source.sp...@gmail.com


What steps will reproduce the problem?

  1. Build an application with two dart scripts one loader.dart, and one main.dart
  2. Have a main() method in both and make one write "Loader" and one write "Main"
  3. Compile and open one in Chrome (no dart support) and one in Dartium.

What is the expected output? What do you see instead?

I see "Loader Main" in both. But you'll get "Loader Main" in Dartium and "Main Main" in Chrome. Regardless of what "it's suppose to do," it definitely shouldn't provide such inconsistent behavior between the two browsers.

What version of the product are you using? On what operating system?

Win7 x64, Dart Editor version 0.3.2_r17657, Dart SDK version 0.3.2.0_r17657

@kasperl
Copy link

kasperl commented Feb 4, 2013

Looks like you're saying that the output in Chrome (using dart2js) is unexpected "Main Main" and that you would expect "Loader Main" just like in dartium?


Added Area-Dart2JS, Triaged labels.
Changed the title to: "dart2js: semantics of multiple scripts".

@kasperl
Copy link

kasperl commented Feb 4, 2013

Added this to the Later milestone.

@DartBot
Copy link
Author

DartBot commented Feb 4, 2013

This comment was originally written by source.s...@gmail.com


Yes that is one way of putting it.

I would expect either both Main Main, or both Loader Main or both issuing an error.

@kasperl
Copy link

kasperl commented May 23, 2013

Added TriageForM5 label.

@kasperl
Copy link

kasperl commented May 28, 2013

Removed TriageForM5 label.

@kasperl
Copy link

kasperl commented Jul 10, 2014

Removed this from the Later milestone.
Added Oldschool-Milestone-Later label.

@kasperl
Copy link

kasperl commented Aug 4, 2014

Removed Oldschool-Milestone-Later label.

@kevmoo kevmoo added P2 A bug or feature request we're likely to work on type-bug Incorrect behavior (everything from a crash to more subtle misbehavior) and removed triaged labels Feb 29, 2016
@matanlurey matanlurey added the closed-obsolete Closed as the reported issue is no longer relevant label Jun 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
closed-obsolete Closed as the reported issue is no longer relevant P2 A bug or feature request we're likely to work on type-bug Incorrect behavior (everything from a crash to more subtle misbehavior) web-dart2js
Projects
None yet
Development

No branches or pull requests

5 participants