Skip to content

dart2js shall work as forgc that allow using "native" keyword #3163

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

Closed
DartBot opened this issue May 22, 2012 · 1 comment
Closed

dart2js shall work as forgc that allow using "native" keyword #3163

DartBot opened this issue May 22, 2012 · 1 comment
Labels
closed-not-planned Closed as we don't intend to take action on the reported issue web-dart2js

Comments

@DartBot
Copy link

DartBot commented May 22, 2012

This issue was originally filed by [email protected]


When compile dart code with dart2js, it complains "Unexpected token" for "native" keyword while "frogc" let go without problem.

I think dart2js shall allow using "native" keyword so dart can access 3rd party JavaScript libraries (such as Google Maps APIs) easily.

@DartBot
Copy link
Author

DartBot commented May 22, 2012

This comment was originally written by [email protected]


Hi Chenhenri,

Thank you for your input. The 'native' keyword is not in the language specification, so we don't plan on supporting it. We are working on a different approach for interacting with 3d party JavaScript libraries, through isolates.


Added Area-Dart2JS, WontFix labels.

@kevmoo kevmoo added closed-not-planned Closed as we don't intend to take action on the reported issue and removed resolution-wont_fix labels Mar 1, 2016
copybara-service bot pushed a commit that referenced this issue Oct 1, 2021
Changes:
```
> git log --format="%C(auto) %h %s" a817863..37d0592
 37d05928 Don't ignore 'packages/' over the root-dir (#3162)
 85e11718 Add in-memory cache to store version listings (#3163)
 46f79d5b Use source.hasMultipleVersions to decide when to show version constraint. (#3159)
 0e553a07 Warn against likely bad env-var name (#3146)
 30580bee Migrate src/git to null-safety (#3158)

```

Change-Id: Ic04937ad0adbeb228770087dedb25ccfcc4f3206
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/215202
Reviewed-by: Sarah Zakarias <[email protected]>
Commit-Queue: Sigurd Meldgaard <[email protected]>
copybara-service bot pushed a commit that referenced this issue Sep 14, 2022
…2 revisions)

https://dart.googlesource.com/dartdoc/+log/b0b0d6ace017..8e7871c2f54f

2022-09-14 [email protected] Refactor renderers (#3163)
2022-09-14 [email protected] Fix InterfaceElement assert for analyzer 5.0.0 (#3165)

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/dart-doc-dart-sdk
Please CC [email protected] on the revert to ensure that a human
is aware of the problem.

To file a bug in Dart Documentation Generator: https://github.com/dart-lang/dartdoc/issues
To file a bug in Dart SDK: https://github.com/dart-lang/sdk/issues

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Tbr: [email protected]
Change-Id: I7555996629be5f616a9ab2c7f029c6fce3dec47f
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/259065
Commit-Queue: DEPS Autoroller <[email protected]>
Reviewed-by: Devon Carew <[email protected]>
Commit-Queue: Devon Carew <[email protected]>
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
closed-not-planned Closed as we don't intend to take action on the reported issue web-dart2js
Projects
None yet
Development

No branches or pull requests

2 participants