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

dart2dart not in the dart-sdk/bin directory bundled in Dart Editor #8172

Closed
DartBot opened this issue Jan 29, 2013 · 7 comments
Closed

dart2dart not in the dart-sdk/bin directory bundled in Dart Editor #8172

DartBot opened this issue Jan 29, 2013 · 7 comments
Labels
area-sdk Use area-sdk for general purpose SDK issues (packaging, distribution, …). closed-duplicate Closed in favor of an existing report

Comments

@DartBot
Copy link

DartBot commented Jan 29, 2013

This issue was originally filed by @sethladd


Not sure if this is an oversight, but I have editor Dart Editor version 0.3.2_r17657 and I can't find dart2dart in the directory structure. I am on a Mac.

Should it be in there? How does one get dart2dart ?

@kasperl
Copy link

kasperl commented Feb 4, 2013

You use dart2js --output-type=dart. Not sure if you really want an extra entry in bin for that. Maybe we should have more stuff (generate snapshots, dart2dart, dart2js, static type analysis) under a bin/dartc command?


Added Area-SDK, Triaged labels.

@DartBot
Copy link
Author

DartBot commented Feb 5, 2013

This comment was originally written by @sethladd


I think a shell script for dart2dart would be appreciated. It's definitely not obvious to use dart2js to spit out dart code. :)

a more generate bin/dartc command with general options would also be sufficient.

@DartBot
Copy link
Author

DartBot commented Apr 21, 2013

This comment was originally written by googlegroups...@kaioa.com


I also think that there should be a "dart2dart" wrapper since most people call it "dart2dart" anyways.

With a separate executable it would be also more "natural" to make this available in the editor. It also makes build scripts a bit nicer to read. Finally, it becomes much easier to discover (see: #­9996).

@DartBot
Copy link
Author

DartBot commented May 26, 2013

This comment was originally written by hach...@gmail.com


May I point out that you cannot use dart2js as a dart2dart compiler for most console apps because dart:io is not included in dart2js... Is there a bug for that?

@DartBot
Copy link
Author

DartBot commented May 26, 2013

This comment was originally written by @sethladd


Confirmed. I've opened https://code.google.com/p/dart/issues/detail?id=10880 to track.

@DartBot
Copy link
Author

DartBot commented May 26, 2013

This comment was originally written by george.moschoviti...@gmail.com


It would be better to call it dartc.

@floitschG
Copy link
Contributor

Added Duplicate label.
Marked as being merged into #21082.

@DartBot DartBot added Type-Defect area-sdk Use area-sdk for general purpose SDK issues (packaging, distribution, …). closed-duplicate Closed in favor of an existing report labels Dec 10, 2014
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-sdk Use area-sdk for general purpose SDK issues (packaging, distribution, …). closed-duplicate Closed in favor of an existing report
Projects
None yet
Development

No branches or pull requests

3 participants