Skip to content

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

Closed

Description

@gbracha

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.

Activity

  1. danrubel commented on Jun 4, 2012

    @danrubel

    Added this to the M1 milestone.

  2. scheglov commented on Jun 6, 2012

    @scheglov
    Contributor

    Will be done in single CL.


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

  3. iposva-google commented on Aug 31, 2012

    @iposva-google
    Contributor

    Marked this as blocking #3088.

  4. kasperl commented on Sep 3, 2012

    @kasperl

    Marked this as blocking #3089.

  5. added this to the M1 milestone on Sep 3, 2012
  6. added a commit that references this issue on Sep 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions