Navigation Menu

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 -> closure compiler, Parse error. missing name after . operator #5856

Closed
DartBot opened this issue Oct 12, 2012 · 9 comments
Closed

Comments

@DartBot
Copy link

DartBot commented Oct 12, 2012

This issue was originally filed by brendand...@gmail.com


What steps will reproduce the problem?

  1. convert dart code to js using dart2js
  2. run the closure compiler on resulting js file
  3. deploy/App.js:29475: ERROR - Parse error. missing name after . operator
    return this.default;

What is the expected output? What do you see instead?
This might be a closure bug, or something I'm doing wrong, I don't know. The line causing the error is in:
html_dart2js.dart, _TrackElementImpl class, defaultValue method.

I'm not explicitly using a TrackElement in my project.

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

Please provide any additional information below.

@dgrove
Copy link
Contributor

dgrove commented Oct 14, 2012

Added Area-Dart2JS, Triaged labels.

@kasperl
Copy link

kasperl commented Oct 15, 2012

Added this to the M2 milestone.

@kasperl
Copy link

kasperl commented Oct 17, 2012

Removed this from the M2 milestone.

@kasperl
Copy link

kasperl commented Oct 17, 2012

Added this to the Later milestone.

@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.

@sigmundch
Copy link
Member

I believe this is now working properly - I haven't tried myself, but users have reported using jscompiler on the dart2js output without issues.

@kevmoo kevmoo removed the triaged label Mar 1, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants