Discussion:
[dart-misc] Dart embedded (Disable error for native calls)
Michael Francis
2017-06-20 15:53:46 UTC
Permalink
I'm working on embedding dart in a program. When working with the embedded
library anywhere that I have

`method() native "Native_Method" the analysis server shows error "Native
functions can only be declared in the SDK..."

Is there anyway to disable this error? I'm using Webstorm with the dart
plugin.
--
For other discussions, see https://groups.google.com/a/dartlang.org/

For HOWTO questions, visit http://stackoverflow.com/tags/dart

To file a bug report or feature request, go to http://www.dartbug.com/new
---
You received this message because you are subscribed to the Google Groups "Dart Misc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to misc+***@dartlang.org.
Günter Zöchbauer
2017-06-20 16:07:04 UTC
Permalink
https://www.dartlang.org/guides/language/analysis-options

If you use the quick fix to suppress the warning, you get the exact rule
name added to a comment
Post by Michael Francis
I'm working on embedding dart in a program. When working with the embedded
library anywhere that I have
`method() native "Native_Method" the analysis server shows error "Native
functions can only be declared in the SDK..."
Is there anyway to disable this error? I'm using Webstorm with the dart
plugin.
--
For other discussions, see https://groups.google.com/a/dartlang.org/

For HOWTO questions, visit http://stackoverflow.com/tags/dart

To file a bug report or feature request, go to http://www.dartbug.com/new
---
You received this message because you are subscribed to the Google Groups "Dart Misc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to misc+***@dartlang.org.
Loading...