Skip to content
This repository was archived by the owner on Jan 14, 2019. It is now read-only.
This repository was archived by the owner on Jan 14, 2019. It is now read-only.

Bug in directive logic #102

@JamesHenry

Description

@JamesHenry

@armano2 I discovered an issues with #65

("use strict");

Should not be treated as a directive, it currently is. We lose the fact it is a ParenthesizedExpression completely during the conversion process which is why something like this is easy to miss.

This is one of the things babel uses the extra property for on the AST - it tracks "parenthesized": true

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions