-
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
Misleading error message in DartC #535
Labels
closed-not-planned
Closed as we don't intend to take action on the reported issue
Comments
Added Area-Compiler, Triaged labels. |
This comment was originally written by zundel@google.com No more code generation in dartc Added WontFix label. |
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
This was referenced Oct 29, 2020
dart-bot
pushed a commit
that referenced
this issue
Feb 22, 2021
2021-02-22 whesse@google.com Fix syntax error in test expectation in ffi test (#1002) 2021-02-20 irina.arkhipets@gmail.com #1000: Missing Issue tags added. 2021-02-20 irina.arkhipets@gmail.com Issue #1000: tests updated according to the recent result analysis 2021-02-20 sgrekhov@unipro.ru Roll failures fixed 2021-02-19 sgrekhov@unipro.ru #999. Missed experiment flags added 2021-02-19 sgrekhov@unipro.ru #993. 32 and 64-bit integer tests added 2021-02-19 sgrekhov@unipro.ru #993. Change test to expect compile error if struct subclass created by the constructor 2021-02-19 sgrekhov@unipro.ru #993. Remove tests that run "nm" command 2021-02-18 sgrekhov@unipro.ru #993. More ffi tests added 2021-02-18 irina.arkhipets@gmail.com Instantiate-to-bounds tests apdated according to the SDK Issues 44223, 42446 evaluation. 2021-02-17 irina.arkhipets@gmail.com Issue #535: nnbd-strong requirement added to the tests, more tests for constant evaluation and canonicalization added. 2021-02-17 sgrekhov@unipro.ru Some of type aliases tests fixed 2021-02-17 sgrekhov@unipro.ru #993. More Struct tests added 2021-02-16 irina.arkhipets@gmail.com Issue #535: more tests for constant evaluation and canonicalization added. 2021-02-12 irina.arkhipets@gmail.com Fixes #994: test expectesions updated according to the recent SDK changes. 2021-02-12 sgrekhov@unipro.ru #993. More Struct tests added 2021-02-12 irina.arkhipets@gmail.com Merge remote-tracking branch 'origin/master' 2021-02-12 sgrekhov@unipro.ru #993. NativeType and Struct tests added 2021-02-11 irina.arkhipets@gmail.com Fixes #991: tests updated according to the recent SDK changes. 2021-02-08 sgrekhov@unipro.ru #993. sizeOf() tests added 2021-02-05 sgrekhov@unipro.ru #993. More tests for DynamicLibrary added 2021-02-04 sgrekhov@unipro.ru #993. DynamicLibrary constructors tests added 2021-02-03 sgrekhov@unipro.ru #993. co19 ffi tests. Initial commit 2021-02-02 sgrekhov@unipro.ru Fixes #992. Boolean conditional evaluation tests added 2021-02-01 irina.arkhipets@gmail.com Fixes #990: tests updated according to the recent SDK changes. 2021-01-28 irina.arkhipets@gmail.com Fixes #979: I-2-b tests updated according to the recent changes for dart-lang/language#1133 2021-01-28 irina.arkhipets@gmail.com Fixes #984: I-2-b tests updated according to the recent changes for dart-lang/language#1133 2021-01-27 sgrekhov@unipro.ru Fixes #989. Runtime type equality operator tests added 2021-01-26 irina.arkhipets@gmail.com Fixes #988: Static warning checks corrected. 2021-01-25 sgrekhov@unipro.ru Fixes #987. Local variables and inference tests added Cq-Include-Trybots: dart/try:analyzer-nnbd-linux-release-try,analyzer-nnbd-mac-release-try,analyzer-nnbd-win-release-try,dart2js-nnbd-linux-x64-chrome-try,ddc-nnbd-linux-release-chrome-try,front-end-nnbd-linux-release-x64-try,front-end-nnbd-mac-release-x64-try,front-end-nnbd-win-release-x64-try,vm-kernel-nnbd-linux-debug-ia32-try,vm-kernel-nnbd-linux-debug-x64-try,vm-kernel-nnbd-linux-release-ia32-try,vm-kernel-nnbd-linux-release-simarm-try,vm-kernel-nnbd-linux-release-simarm64-try,vm-kernel-nnbd-linux-release-x64-try,vm-kernel-nnbd-mac-debug-x64-try,vm-kernel-nnbd-mac-release-x64-try,vm-kernel-nnbd-win-debug-x64-try,vm-kernel-nnbd-win-release-ia32-try,vm-kernel-nnbd-win-release-x64-try,vm-kernel-precomp-nnbd-linux-debug-x64-try,vm-kernel-precomp-nnbd-linux-release-simarm64-try,vm-kernel-precomp-nnbd-linux-release-x64-try,vm-kernel-precomp-nnbd-mac-release-simarm64-try,vm-kernel-precomp-nnbd-win-release-x64-try Change-Id: I78ba37f9c74d2afc360ef5fbd51d01ab75239fd6 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/186146 Reviewed-by: Jonas Termansen <sortie@google.com>
dart-bot
pushed a commit
that referenced
this issue
Mar 17, 2021
2021-03-17 sgrekhov@unipro.ru Fixes #1017. Use => for setter returning value tests 2021-03-16 irina.arkhipets@gmail.com Issue #996: more tests for Generic functions as type arguments and bounds added. 2021-03-16 sgrekhov@unipro.ru Fixes #1005. Description updated for method_definition tests 2021-03-16 sgrekhov@unipro.ru Fixes #1011. Expect an error if non-function type is called as a function 2021-03-16 irina.arkhipets@gmail.com Issue #996: tests for Generic functions as type arguments and bounds re-factored, more tests added. 2021-03-15 irina.arkhipets@gmail.com Issue #996: tests for Generic functions as type arguments and bounds added. 2021-03-15 irina.arkhipets@gmail.com Issue #996: tests for Generic functions as type arguments and bounds added. 2021-03-15 sgrekhov@unipro.ru Missed experiment flag added 2021-03-12 irina.arkhipets@gmail.com Issue #996: tests for Generic functions as type arguments and bounds added. 2021-03-12 sgrekhov@unipro.ru #993. Added tests checking that Struct fields cannot have initializers 2021-03-12 sgrekhov@unipro.ru #993. Tests for not external members of Struct subtype added 2021-03-11 sgrekhov@unipro.ru #993. Use package ffi in co19 ffi tests 2021-03-09 sgrekhov@unipro.ru Fixes #995. Annotations with type arguments tests added 2021-03-09 irina.arkhipets@gmail.com Issue #997: existing triple-shift tests corrected. 2021-03-09 irina.arkhipets@gmail.com More fixes for #535: split constant evaluation tests because static behavior of the strong and weak mode is different. 2021-03-04 sgrekhov@unipro.ru #993. Array tests added 2021-03-04 sgrekhov@unipro.ru #993. Pointer equality tests added 2021-03-03 sgrekhov@unipro.ru #993. Pointer.elementAt() tests added 2021-03-02 sgrekhov@unipro.ru #993. Pointer.cast() tests added 2021-03-01 sgrekhov@unipro.ru #993. Pointer tests added 2021-03-01 sgrekhov@unipro.ru Fixes #936. Change expected result according to the new left top rule 2021-02-26 irina.arkhipets@gmail.com Fixed #998: tests checks output streams correctly now. 2021-02-26 sgrekhov@unipro.ru #993. IntPtr tests added 2021-02-26 sgrekhov@unipro.ru #993. More Struct tests added 2021-02-25 irina.arkhipets@gmail.com Tests updated, missing issue tags added. 2021-02-25 sgrekhov@unipro.ru #1003. Isolate test fixed to not to be a racy 2021-02-25 sgrekhov@unipro.ru Issue numbers added 2021-02-24 sgrekhov@unipro.ru Issue number added 2021-02-24 sgrekhov@unipro.ru #988. Typo in error message fixed 2021-02-24 sgrekhov@unipro.ru #988. Fix test expectations Cq-Include-Trybots: dart/try:analyzer-nnbd-linux-release-try,dart2js-nnbd-linux-x64-chrome-try,ddc-nnbd-linux-release-chrome-try,front-end-nnbd-linux-release-x64-try,vm-kernel-nnbd-linux-debug-x64-try,vm-kernel-nnbd-linux-release-simarm64-try,vm-kernel-nnbd-linux-release-x64-try,vm-kernel-nnbd-mac-release-x64-try,vm-kernel-nnbd-win-release-x64-try,vm-kernel-precomp-nnbd-linux-debug-x64-try,vm-kernel-precomp-nnbd-linux-release-simarm64-try,vm-kernel-precomp-nnbd-linux-release-x64-try Change-Id: I718644028b1d2a9fbba0c7efdf2923bb67184fde Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/191409 Reviewed-by: William Hesse <whesse@google.com>
dart-bot
pushed a commit
that referenced
this issue
Apr 7, 2021
2021-04-07 irina.arkhipets@gmail.com Fixes #535: more nnbd tests for constant evaluation added. 2021-04-07 sgrekhov@unipro.ru Fixes #1068. Remove excessive - in a SharedOptions 2021-04-05 irina.arkhipets@gmail.com Fixes #535: more nnbd tests for constant evaluation added. 2021-04-05 irina.arkhipets@gmail.com Fixes #996: more tests added. 2021-04-05 irina.arkhipets@gmail.com Fixes #996: more tests added. 2021-04-05 irina.arkhipets@gmail.com Fixes #1067: added checks for old and new dart versions. 2021-04-05 irina.arkhipets@gmail.com Fixes #1066: added @Dart=2.12 to the initial version of the test, new test which checks recent dart behavior added. 2021-04-05 irina.arkhipets@gmail.com Fixes #1057: Expected result doe the tests with mailformed types updated. 2021-04-02 sgrekhov@unipro.ru Fixes #1062. Remove unnecessary assignment 2021-04-01 irina.arkhipets@gmail.com Fixes #1057: Expected result doe the tests with mailformed types updated. 2021-04-01 sgrekhov@unipro.ru Expected error code is fixed for Windows 2021-04-01 sgrekhov@unipro.ru Fixes #1060. Expected error message position updated 2021-04-01 sgrekhov@unipro.ru Fixes #1059. Expected error message updated 2021-04-01 sgrekhov@unipro.ru Fixes #1024. Adjust expected results for web platforms 2021-04-01 sgrekhov@unipro.ru #993. More Array tests added 2021-03-31 58489007+franklinyow@users.noreply.github.com Update LICENSE 2021-03-31 sgrekhov@unipro.ru #993. Array tests added 2021-03-31 irina.arkhipets@gmail.com Issue #1053: Missing Issue tag added, test expectation updated. 2021-03-30 irina.arkhipets@gmail.com Fixes #1054: Updated expectations for mailformed raw type variables. 2021-03-30 irina.arkhipets@gmail.com Fixes #1050: Updated expectations for mailformed raw type variables. 2021-03-30 irina.arkhipets@gmail.com Fixes #1050: Got rid of mailformed row type variable usage in i-2-b- tests. 2021-03-29 sgrekhov@unipro.ru Fixes #1043. Remove static warning as an expected result 2021-03-29 irina.arkhipets@gmail.com Fixes #1049: Correct expectation adjusted 2021-03-29 sgrekhov@unipro.ru Fixes #1048. Move tests to correct folder and change the description 2021-03-29 irina.arkhipets@gmail.com Fixes #1046: Test adjusted to work with the generic metadata feature enabled. 2021-03-29 sgrekhov@unipro.ru Fixes #1047. Change expected result to not to fail on JavaScript configurations 2021-03-29 sgrekhov@unipro.ru Fixes #1044. Change expected result to not to fail on JavaScript configurations 2021-03-26 irina.arkhipets@gmail.com Fixes #1029: Missing Issue tag added to the test. 2021-03-26 sgrekhov@unipro.ru Fixes #1042. Add check that produces different results for triple and double shifts 2021-03-26 sgrekhov@unipro.ru Fixes #1042. Fix built-in_types_t11.dart to expect correct results 2021-03-25 sgrekhov@unipro.ru Fixes #1019. Don't use type aliases in legacy libraries 2021-03-25 irina.arkhipets@gmail.com Fixes #1039: Old-style aliases corrected. 2021-03-25 sgrekhov@unipro.ru Fixes #988. Expect static type warning in a right way 2021-03-24 irina.arkhipets@gmail.com Issues #1029: Static expectation corrected. 2021-03-24 irina.arkhipets@gmail.com Issues #1035: Issue tag for the bug 45443 added. 2021-03-24 irina.arkhipets@gmail.com Merge branch 'master' of https://github.com/dart-lang/co19 2021-03-24 sgrekhov@unipro.ru #1023. Change SplayTreeMap and SplayTreeSet tests according to the new behavior 2021-03-23 sgrekhov@unipro.ru #1021. Remove expecting errors on web configurations for some negative numbers 2021-03-23 sgrekhov@unipro.ru Fixes #1034. Missed experimental flag added 2021-03-23 sgrekhov@unipro.ru #1033. Perform runtime check on big values for non-JavaScript configurations only 2021-03-23 irina.arkhipets@gmail.com Issues #1029: co19/Language/Generics/Superbounded_types/typedef3_A01_t06/02 corrected and does not expect a compile error now. Cq-Include-Trybots: dart/try:analyzer-nnbd-linux-release-try,dart2js-nnbd-linux-x64-chrome-try,ddc-nnbd-linux-release-chrome-try,front-end-nnbd-linux-release-x64-try,vm-kernel-nnbd-linux-debug-x64-try,vm-kernel-nnbd-linux-release-simarm64-try,vm-kernel-nnbd-linux-release-x64-try,vm-kernel-nnbd-mac-release-x64-try,vm-kernel-nnbd-win-release-x64-try,vm-kernel-precomp-nnbd-linux-debug-x64-try,vm-kernel-precomp-nnbd-linux-release-simarm64-try,vm-kernel-precomp-nnbd-linux-release-x64-try Change-Id: I5fae01c7b48aba502da04638430f4f6de79ac745 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/194241 Reviewed-by: William Hesse <whesse@google.com>
copybara-service bot
pushed a commit
that referenced
this issue
May 20, 2022
Changes: ``` > git log --format="%C(auto) %h %s" c1eb6cb..b149f80 https://dart.googlesource.com/protobuf.git/+/b149f80 Remove the top level analysis_options.yaml file (#656) https://dart.googlesource.com/protobuf.git/+/8f6f307 Fix comment syntax https://dart.googlesource.com/protobuf.git/+/665f7b0 Remove trailing whitespace in protobuf/LICENSE https://dart.googlesource.com/protobuf.git/+/9ffbaf2 Fix default list type for frozen messages (#654) https://dart.googlesource.com/protobuf.git/+/a68bb5a Fix Fixed32 to be parsed as unsigned when parsing proto3 protos (#655) https://dart.googlesource.com/protobuf.git/+/6957c98 Convert the field started with underscore and digit to a legal name (#651) https://dart.googlesource.com/protobuf.git/+/71defca Account for double.infinity and double.nan in json serializers (#652) https://dart.googlesource.com/protobuf.git/+/5a48349 Allow `Timestamp.toDateTime()` to return a `DateTime` in local timezone (#653) https://dart.googlesource.com/protobuf.git/+/117e869 Make the toString of enums be the value if names are omitted (#649) https://dart.googlesource.com/protobuf.git/+/88c4016 Align the hashCode of a message with an empty unknown field-set with that of no unknown field set (#648) https://dart.googlesource.com/protobuf.git/+/eed09c4 Fix proto3 repeated field encoding without packed option (#635) https://dart.googlesource.com/protobuf.git/+/8f587b1 Simplify `_FieldSet` getters (#646) https://dart.googlesource.com/protobuf.git/+/494f189 Fix compile-protos.sh interpreter (#645) https://dart.googlesource.com/protobuf.git/+/5e1a422 Fix typo in protobuf-0.9.0+1 changelog https://dart.googlesource.com/protobuf.git/+/46df68a Add `UseResult` annotation to `rebuild` (#631) https://dart.googlesource.com/protobuf.git/+/ff5304f Migrate protoc_plugin to null safety (#642) https://dart.googlesource.com/protobuf.git/+/657197d Fix typo in GeneratedMessage.copyWith documentation (#641) https://dart.googlesource.com/protobuf.git/+/e30a522 Fix sharing coded buffer bytes when parsing `bytes` fields (#640) https://dart.googlesource.com/protobuf.git/+/810b166 Clear unknown field when setting an extension field with the same tag (#639) https://dart.googlesource.com/protobuf.git/+/d30623b Treat empty and uninitialized Maps the same in equality checks (#638) https://dart.googlesource.com/protobuf.git/+/4fe3ee4 Make `MapFieldInfo` key and value types non-nullable (#600) https://dart.googlesource.com/protobuf.git/+/c26ac34 Add grpc example to protoc_plugin README (#514) https://dart.googlesource.com/protobuf.git/+/c35d787 Revert changes to reserved names to maintain backwards compat (#636) https://dart.googlesource.com/protobuf.git/+/146b186 Remove unused `GeneratedMessage` constructors (#634) https://dart.googlesource.com/protobuf.git/+/1b12ac9 Remove a closure in `_FieldSet.hashCode` (#633) https://dart.googlesource.com/protobuf.git/+/5731242 Minor fix in query_bench set_nested_value benchmark: (#630) https://dart.googlesource.com/protobuf.git/+/767ce81 Remove fold() closures from `FieldSet._hashCode`. (#554) https://dart.googlesource.com/protobuf.git/+/99bc541 protoc_plugin README fixes and tweaks: (#617) https://dart.googlesource.com/protobuf.git/+/e282e17 protobuf benchs: invoke protoc once with all protos (#623) https://dart.googlesource.com/protobuf.git/+/bef672b protobuf benchs: fix old --trust-type-annotations flag (#622) https://dart.googlesource.com/protobuf.git/+/d072e5f dependabot: check for updates monthly (#620) https://dart.googlesource.com/protobuf.git/+/96bdf38 Fix TypeRegistry passing when unpacking nested Any messages from JSON (#568) https://dart.googlesource.com/protobuf.git/+/4ec722a Correctly combine hash codes for repeated enums. (#556) https://dart.googlesource.com/protobuf.git/+/b96dc21 Testing: don't return static methods in findMemberNames (#618) https://dart.googlesource.com/protobuf.git/+/09e8a8d Update protobuf/benchmarks README for #553 https://dart.googlesource.com/protobuf.git/+/3ef4539 Add a benchmark for computing hashCodes. (#553) https://dart.googlesource.com/protobuf.git/+/d232e6e Tweak READMEs: (#610) https://dart.googlesource.com/protobuf.git/+/0f01fa9 Update protobuf pubspec.yaml (#616) https://dart.googlesource.com/protobuf.git/+/a10426b Update protoc_plugin pubspec.yaml (#615) https://dart.googlesource.com/protobuf.git/+/a0021c7 Make `protoName` unCamelCase lazy (#606) https://dart.googlesource.com/protobuf.git/+/ded1ac7 Document map key and value fields (#603) https://dart.googlesource.com/protobuf.git/+/8792f2a Remove redundant check in PbMap equality check (#604) https://dart.googlesource.com/protobuf.git/+/b7f9569 Tweak BuilderInfo and FieldInfo docs: (#597) https://dart.googlesource.com/protobuf.git/+/6f85c32 Remove a redundant cast (#598) https://dart.googlesource.com/protobuf.git/+/3df8669 Latest mono_repo (#601) https://dart.googlesource.com/protobuf.git/+/9da84ae Fix a potential issue in CodedBufferWriter (#594) https://dart.googlesource.com/protobuf.git/+/6be405f Remove old and unused test file (#589) https://dart.googlesource.com/protobuf.git/+/900cef5 Fix protoc_plugin run-tests make rule (#586) https://dart.googlesource.com/protobuf.git/+/2546269 Fix rounding when handling negative timestamps (#580) https://dart.googlesource.com/protobuf.git/+/8afce8d Fix Readme `pub get` instead of `pub install`. (#486) https://dart.googlesource.com/protobuf.git/+/782fd24 Avoid runtime function type check in lazily created singleton creator functions (#574) https://dart.googlesource.com/protobuf.git/+/a7e75cb Update README.md https://dart.googlesource.com/protobuf.git/+/23136dc Version bump (#563) https://dart.googlesource.com/protobuf.git/+/18346f5 Convert null keys and values to default when parsing map entries (#536) https://dart.googlesource.com/protobuf.git/+/bb4cf0b Bump to latest mono_repo - use latest actions (#561) https://dart.googlesource.com/protobuf.git/+/835ab75 Remove unneeded imports https://dart.googlesource.com/protobuf.git/+/ef733ac latest mono_repo https://dart.googlesource.com/protobuf.git/+/ecfb862 Fix test for latest analysis (#543) https://dart.googlesource.com/protobuf.git/+/26a0a26 fix insecure link in protoc_plugin readme https://dart.googlesource.com/protobuf.git/+/444e855 Bump dart-lang/setup-dart from 1.1 to 1.2 (#535) https://dart.googlesource.com/protobuf.git/+/d3e0e4a Fix analysis options https://dart.googlesource.com/protobuf.git/+/cf29280 Fix comment references ``` Diff: https://dart.googlesource.com/protobuf.git/+/c1eb6cb51af39ccbaa1a8e19349546586a5c8e31~..b149f801cf7a5e959cf1dbf72d61068ac275f24b/ Tested: relying on existing SDK and protobuf tests Change-Id: I7f89b998a0aba13999d180ee9814a26a5f1d054d Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/245228 Reviewed-by: Alexander Markov <alexmarkov@google.com> Reviewed-by: Ömer Ağacan <omersa@google.com> Commit-Queue: Devon Carew <devoncarew@google.com>
copybara-service bot
pushed a commit
that referenced
this issue
Jan 24, 2023
args (https://github.com/dart-lang/args/compare/ac0e2c8..04c9346): 04c9346 2023-01-19 Devon Carew blast_repo fixes (#230) async (https://github.com/dart-lang/async/compare/de1ce93..c9cc576): c9cc576 2023-01-23 Devon Carew update changelog and pubspec version (#228) intl (https://github.com/dart-lang/intl/compare/6140b60..3fcc810): 3fcc810 2023-01-23 Copybara-Service Merge pull request #535 from dart-lang:changeNumberOfDigitsCalculation 07a73ca 2023-01-23 Moritz Add license f0d0530 2023-01-20 Moritz Add test aea7a7a 2023-01-20 Moritz Fix bug in numberOfIntegerDigits calculation, simplifying the algorithm 039f2b4 2023-01-20 Copybara-Service Merge pull request #532 from dart-lang:removeTimezone c97ee27 2023-01-13 Moritz Remove unimplemented timezone functionality mockito (https://github.com/dart-lang/mockito/compare/9cc958a..7696557): 7696557 2023-01-22 dependabot[bot] Bump actions/checkout from 3.1.0 to 3.3.0 (#599) ee68765 2023-01-20 Devon Carew generate code before we analyze (#601) 09aabe7 2023-01-20 Sam Rawlins GitHub Sync (#602) 0128352 2023-01-19 Devon Carew blast_repo fixes test (https://github.com/dart-lang/test/compare/19582a8..53df527): 53df5270 2023-01-23 Nate Bosch Fix description of conditions without expectations (#1864) cbac7089 2023-01-23 Nate Bosch Allow omitting the actual argument for rejections (#1861) af768a8f 2023-01-20 Nate Bosch Add anyOf condition (#1859) 387436bd 2023-01-20 Nate Bosch Add unordered iterable comparisons (#1858) b3c78a4b 2023-01-19 Nate Bosch Implement deep collection equality (#1853) e5a9f7d4 2023-01-19 Nate Bosch Rename allowLateFailure -> allowUnawaited (#1854) Change-Id: I9f82587285250f608e070d1380b836ee8238c5fd Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/279642 Auto-Submit: Devon Carew <devoncarew@google.com> Commit-Queue: Konstantin Shcheglov <scheglov@google.com> Reviewed-by: Konstantin Shcheglov <scheglov@google.com>
This issue was closed.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This issue was originally filed by grobm...@gmail.com
Following code is wrong:
class My {
My() {
}
void run() {
b.addRow("test");
}
}
void main() {
My b = new My();
b.run();
}
In run(), the b object is not accessible. The editor shows this correct.
The DartC generated code shows the following instead (in chrome):
Uncaught TypeError: Object #<unnamed2e426e$My$Dart> has no method 'b$getter'
The text was updated successfully, but these errors were encountered: