Skip to content
This repository has been archived by the owner on Mar 8, 2020. It is now read-only.

Commit

Permalink
sem: drop ImportDefaultSpecifier>leadingComments
Browse files Browse the repository at this point in the history
Signed-off-by: Alexander Bezzubov <bzz@apache.org>
  • Loading branch information
bzz committed Mar 1, 2019
1 parent 748c74c commit aa2dcb9
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions driver/normalizer/normalizer.go
Original file line number Diff line number Diff line change
Expand Up @@ -213,8 +213,10 @@ var Normalizers = []Mapping{
},
)),
MapSemantic("ImportDefaultSpecifier", uast.Alias{}, MapObj(
Obj{
"local": Var("local"),
Fields{
{Name: "local", Op: Var("local")},
//FIXME(bzz): save this once we agree how
{Name: "leadingComments", Drop: true, Op: Any()},
},
Obj{
"Name": Var("local"),
Expand Down

0 comments on commit aa2dcb9

Please sign in to comment.