Closed jenseng closed 9 years ago
of course, i am using babel-acorn and the babel-core patches to ast-types (via custom i18nliner plugin that sets recastOptions), and that's totes unsupported. so this is kind of uncharted territory :-/
this problem does not exist when using vanilla recast (w/ esprima-fb)
This was due to bad loc.end
data, confirmed it's no longer a problem with this fix applied.
this may be a recast printing bug, or it may be due to #1, or both ... i've got a file w/ some jsx like so
it gets preprocessed into this:
<Text>
is an autoTranslateTag, and it does get preprocessed ... sort of, but in the wrong place. note the mangledmedia
attribute inside<SurveyHeaderActions>
... totally broken