Deploy v0.38.0

Reviewed By: jeffmo

Differential Revision: D4428858

fbshipit-source-id: 10dc69349a2b563e1fa444a8b0612e3b2d4ccd1c
This commit is contained in:
Gabe Levi 2017-01-18 11:00:00 -08:00 committed by Facebook Github Bot
parent 279f11a344
commit 78df7bd070
2 changed files with 12 additions and 0 deletions

View File

@ -59,6 +59,9 @@ function compactMapping(mapping: BabelRawMapping): RawMapping {
}
if (typeof name !== 'string') {
/* $FlowFixMe(>=0.38.0 site=react_native_fb) - Flow error detected during
* the deployment of v0.38.0. To see the error, remove this comment and run
* flow */
return ([line, column, original.line, original.column]: SourceMapping);
}
@ -77,7 +80,13 @@ function addMappingsForFile(generator, mappings, module, carryOver) {
mapping[0] + carryOver,
// lines start at 1, columns start at 0
mapping[0] === 1 && mapping[1] + columnOffset || mapping[1],
/* $FlowFixMe(>=0.38.0 site=react_native_fb) - Flow error detected during
* the deployment of v0.38.0. To see the error, remove this comment and
* run flow */
mapping[2],
/* $FlowFixMe(>=0.38.0 site=react_native_fb) - Flow error detected during
* the deployment of v0.38.0. To see the error, remove this comment and
* run flow */
mapping[3],
//$FlowIssue #15417846
mapping[4],

View File

@ -71,6 +71,9 @@ function optimize(transformed, file, originalCode, options): TransformResult {
}
function optimizeCode(code, map, filename, inliningOptions) {
/* $FlowFixMe(>=0.38.0 site=react_native_fb) - Flow error detected during the
* deployment of v0.38.0. To see the error, remove this comment and run flow
*/
return babel.transform(code, {
plugins: [
[constantFolding],