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

Undeclared static getter calls: Compile time error becomes static warning per spec, 10.15 #3087

gbracha opened this issue May 16, 2012 · 4 comments


Copy link

gbracha commented May 16, 2012

It is a static warning if there is no class C in the enclosing lexical scope of i, or if C does not declare, implicitly or explicitly, a getter named m. The static type of i is the declared return type of C.m.

The above used to specify a compile-time error but is now a warning.

Copy link

danrubel commented Jun 4, 2012

Added this to the M1 milestone.

Copy link

scheglov commented Jun 6, 2012

Will be done in single CL.

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

Copy link

Marked this as blocking #3088.

Copy link

kasperl commented Sep 3, 2012

Marked this as blocking #3089.

@gbracha gbracha added this to the M1 milestone Sep 3, 2012
dart-bot pushed a commit that referenced this issue Sep 13, 2021
New commits in this version:

git -C third_party/pkg/pub log --oneline cd7a43f2109f7e5eb22e73c7f4e15d25fd57598e..d95c5713dda518ed53ada70e00789e6aadbfbe48
d95c5713 (HEAD, origin/master, origin/HEAD) Remove duplicate global invocation on Windows (#3055)
4c5198df master->main (#3101)
e793fd52 More tool/test.dart tweaks (#3097)
1b228edd Report retracted packages (#3093)
4fedb6c5 Tweak strict dependencies error message for `_validateBenchmarkTestTool` (#3087)
e608ab6e Improve test script (#3091)
abf702c4 Detect potential leaks in `dart pub publish`. (#3049)
9941c1f9 Fix broken simplification of prerelease constraints (#3078)
f0cdfa27 format (#3086)
5a1242c6 Fix unicode terminal detection windows (#2933)
58e2296d Dart format (#3084)
1426601c use incremental compilation in the tool/test.dart script (#3075)
9954f851 Fix a typo (#3062)
44489b31 Use relative import for path.dart (#2959)
77702ab1 Always precompile scripts before running them (#3074)

Change-Id: I913ab9e3b5bc7181d483a2de96ec4ad917028b75
Reviewed-by: Jonas Jensen <>
Commit-Queue: Sigurd Meldgaard <>
copybara-service bot pushed a commit that referenced this issue Jul 19, 2022
…5 revisions)

2022-07-19 Remove MatchingLinkResult.warn; unused (#3090)
2022-07-19 Make ContainerMember.enclosingElement a Container (#3085)
2022-07-19 Make ModelElement fields library and package non-nullable (#3086)
2022-07-18 49699333+dependabot[bot] Bump actions/cache from 3.0.4 to 3.0.5 (#3087)
2022-07-18 49699333+dependabot[bot] Bump github/codeql-action from 2.1.15 to 2.1.16 (#3088)

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
Please CC on the revert to ensure that a human
is aware of the problem.

To file a bug in Dart Documentation Generator:
To file a bug in Dart SDK:

To report a problem with the AutoRoller itself, please file a bug:

Documentation for the AutoRoller is here:

Change-Id: I37a4e3811b01ada3f425f7404ba13698c7f0a085
Reviewed-by: Devon Carew <>
Commit-Queue: Devon Carew <>
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet

No branches or pull requests

5 participants