Skip to content

Change @proxy() to @proxy #3494

Closed
Closed

Description

@yjbanov

3c58878#diff-a7b00ed9077569881da8d1f71374e836 caused a regression in Dart output. @proxy() is an incorrect way to use proxy. It must be @proxy as it is a predefined constant.

/cc @jelbourn

Activity

  1. added this to the alpha-35 milestone on Aug 5, 2015
  2. added a commit that references this issue on Aug 6, 2015
    b4a0629
  3. alexeagle commented on Aug 6, 2015

    @alexeagle
    Contributor

    Why didn't any of our tests catch this defect?

  4. yjbanov commented on Aug 6, 2015

    @yjbanov
    ContributorAuthor

    Probably some combination of the following:

    • we do not run Dart analyzer on the offending code (or it passes the analyzer check)
    • we do not compile our unit tests to JS
    • Dart VM doesn't care to eval @proxy because this annotation is not used at runtime (it's used for static analysis only) and therefore never fails any of our tests
  5. alexeagle commented on Aug 6, 2015

    @alexeagle
    Contributor

    Is it because we don't run Dartium in checked mode for our testing? Can you
    fix that?

    On Thu, Aug 6, 2015 at 10:53 AM Yegor [email protected] wrote:

    Probably some combination of the following:

    • we do not run Dart analyzer on the offending code (or it passes the
      analyzer check)
    • we do not compile our unit tests to JS
    • Dart VM doesn't care to eval @proxy because this annotation is not
      used at runtime (it's used for static analysis only) and therefore never
      fails any of our tests

    —
    Reply to this email directly or view it on GitHub
    #3494 (comment).

  6. angular-automatic-lock-bot commented on Sep 6, 2019

    @angular-automatic-lock-bot

    This issue has been automatically locked due to inactivity.
    Please file a new issue if you are encountering a similar or related problem.

    Read more about our automatic conversation locking policy.

    This action has been performed automatically by a bot.

  7. locked and limited conversation to collaborators on Sep 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions