-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Add the ability to invoke private methods from native functions #2082
Labels
area-vm
Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends.
type-enhancement
A request for a change that isn't a bug
Comments
Using Dart_Invoke it should now be possible to invoke private methods. (Note that Dart_InvokeState and Dart_InvokeDynamic are still broken, but are in the process of being removed.) Please reopen the bug if you run into a method that you can't invoke. Added Fixed label. |
sgjesse
added
Type-Enhancement
area-vm
Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends.
labels
Apr 2, 2012
kevmoo
added
type-enhancement
A request for a change that isn't a bug
and removed
type-enhancement
labels
Mar 1, 2016
copybara-service bot
pushed a commit
that referenced
this issue
Aug 21, 2023
… webdev Revisions updated by `dart tools/rev_sdk_deps.dart`. collection (https://github.com/dart-lang/collection/compare/1ed009e..1a9b7eb): 1a9b7eb 2023-08-15 ebraminio Minor typo fix (#304) dartdoc (https://github.com/dart-lang/dartdoc/compare/5cfb1f3..e148373): e1483735 2023-08-14 Parker Lougheed Adjust links to dart.dev class modifier documentation (#3476) http (https://github.com/dart-lang/http/compare/9f167a7..631d4ec): 631d4ec 2023-08-18 Alex James Add java_http .gitattributes file (#999) 58a5462 2023-08-17 Alex James JavaClient can stream the HTTP response body (#1005) df1f625 2023-08-15 Brian Quinlan Add some additional header tests (#1006) mockito (https://github.com/dart-lang/mockito/compare/ff79de6..e54a006): e54a006 2023-08-18 Copybara-Service Merge pull request #685 from LuisDuarte1:feature/build-extensions 5f3a4ca 2023-08-18 Luís Duarte Format files 2d4ec1e 2023-08-17 Luís Duarte Update lib/src/builder.dart bc06f9f 2023-08-17 Luís Duarte Make builder not merge generic extension. af043a0 2023-08-16 Luís Duarte Replace double-quotes with single quotes 034e6c1 2023-08-16 Luís Duarte Update lib/src/builder.dart 4ff995f 2023-08-10 Luís Duarte Make MockBuilder support build_extensions option. protobuf (https://github.com/dart-lang/protobuf/compare/a852ba4..5e8f36b): 5e8f36b 2023-08-16 Ömer Sinan Ağacan Add dart2wasm targets to benchmark builder (#806) 41d0156 2023-08-15 Ömer Sinan Ağacan Document why we add '$' prefix to result local in constructors (#870) 41193fd 2023-08-14 Devon Carew Rename a local variable to avoid proto field name conflicts, re-generate protos (#869) test (https://github.com/dart-lang/test/compare/bc0a992..d0fc4bd): d0fc4bde 2023-08-16 Nate Bosch Extend the timeout for runtime_matrix_test (#2084) cdf80280 2023-08-16 Nate Bosch Add some console logging to browser test startup (#2083) 6146c292 2023-08-16 Nate Bosch Add an ignore for an SDK deprecation (#2082) 27142079 2023-08-15 Parker Lougheed Fix improperly rendered changelog entry (#2081) 46cf4de0 2023-08-15 Nate Bosch Timeout browser suite loads (#2080) tools (https://github.com/dart-lang/tools/compare/295ff92..2be6c2e): 2be6c2e 2023-08-16 Ben Konyi Added `dartCliCommandExecuted` and `pubGet` events (#123) webdev (https://github.com/dart-lang/webdev/compare/19aad27..fc876cb): fc876cb0 2023-08-16 Elliott Brooks Reset Webdev to 3.0.8-wip (#2197) 1aa7c523 2023-08-16 Elliott Brooks Prepare webdev for release to 3.0.7 (#2196) Change-Id: Idc228d0f3f70f5b3e7bfc6e777260dfe84fe96f5 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/322060 Commit-Queue: Devon Carew <[email protected]> Reviewed-by: Nate Bosch <[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
area-vm
Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends.
type-enhancement
A request for a change that isn't a bug
For native function written in C (using the native keyword on the VM) it is not possible to invoke private methods. When a native method is invoked it seems logical that it is operating inside the library from which it is invoked and it should be possible to invoke private functions in that same library.
The text was updated successfully, but these errors were encountered: