mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-14 02:15:12 -06:00
Check for repeating meta-data flag.
This commit is contained in:
parent
4a1f652b66
commit
9bbbdec0c2
@ -2147,6 +2147,10 @@ module FourSlash {
|
||||
currentFileOptions[match[1]] = match[2];
|
||||
}
|
||||
} else {
|
||||
// Check if the match is already existed in the global options
|
||||
if (opts[match[1]] !== undefined) {
|
||||
throw new Error("Global Option : '" + match[1] + "' is already existed");
|
||||
}
|
||||
opts[match[1]] = match[2];
|
||||
}
|
||||
}
|
||||
|
||||
@ -17,9 +17,4 @@
|
||||
//// var k = 10;
|
||||
//// }
|
||||
|
||||
var filename = "sample/outDir/sourceMapResult";
|
||||
var jsFilename = filename + ".js";
|
||||
var sourceMapFilename = filename + ".js.map";
|
||||
var outputFilenames = jsFilename + " " + sourceMapFilename;
|
||||
verify.baselineGetEmitOutput();
|
||||
//verify.emitOutput(EmitReturnStatus.Succeeded, outputFilenames);
|
||||
verify.baselineGetEmitOutput();
|
||||
Loading…
x
Reference in New Issue
Block a user