Skip to content
This repository has been archived by the owner on May 19, 2018. It is now read-only.

Fix static property falling through in declare class Flow AST #135

Merged
merged 1 commit into from
Sep 21, 2016

Conversation

danharper
Copy link
Member

Given the following:

declare class X {
    a: number;
    static b: number;
    c: number;
}

c would get marked as static as it's not being reset between properties.

https://astexplorer.net/#/4Bi9Ce53LA

@codecov-io
Copy link

codecov-io commented Sep 20, 2016

Current coverage is 94.39% (diff: 100%)

Merging #135 into master will increase coverage by <.01%

@@             master       #135   diff @@
==========================================
  Files            19         19          
  Lines          3082       3084     +2   
  Methods         325        325          
  Messages          0          0          
  Branches        806        806          
==========================================
+ Hits           2909       2911     +2   
  Misses           94         94          
  Partials         79         79          

Powered by Codecov. Last update 9cb73d8...2f953de

@hzoo hzoo merged commit b68918e into babel:master Sep 21, 2016
@danez
Copy link
Member

danez commented Sep 21, 2016

Awesome thanks

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants