You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Flow comments are recognized as flow typings when they start with /*::, /*:, and /*flow-include, but when there's spaces it sees them as an ordinary comment (i.e. /* ::, /* : and /* flow-include).
Hey @vikr01! We really appreciate you taking the time to report an issue. The collaborators
on this project attempt to help as many people as possible, but we're a limited number of volunteers,
so it's possible this won't be addressed swiftly.
If you need any help, or just have general Babel or JavaScript questions, we have a vibrant Slack
community that typically always has someone willing to help. You can sign-up here
for an invite.
Bug Report
Current Behavior
Using
@babel/parser
v7.2.0.Flow comments are recognized as flow typings when they start with
/*::
,/*:
, and/*flow-include
, but when there's spaces it sees them as an ordinary comment (i.e./* ::
,/* :
and/* flow-include
).Input Code
Expected behavior/code
Spaces after the start of the comment should be considered the same as no spaces with flow comments.
The behavior for newlines after the start of the comment shouldn't change though, as flow still sees those as comments, i.e.:
The text was updated successfully, but these errors were encountered: