(onKey, option1, option2, message, arg0, arg1, arg2)
| 119166 | } |
| 119167 | } |
| 119168 | function createDiagnosticForOption(onKey, option1, option2, message, arg0, arg1, arg2) { |
| 119169 | var compilerOptionsObjectLiteralSyntax = getCompilerOptionsObjectLiteralSyntax(); |
| 119170 | var needCompilerDiagnostic = !compilerOptionsObjectLiteralSyntax || |
| 119171 | !createOptionDiagnosticInObjectLiteralSyntax(compilerOptionsObjectLiteralSyntax, onKey, option1, option2, message, arg0, arg1, arg2); |
| 119172 | if (needCompilerDiagnostic) { |
| 119173 | programDiagnostics.add(ts.createCompilerDiagnostic(message, arg0, arg1, arg2)); |
| 119174 | } |
| 119175 | } |
| 119176 | function getCompilerOptionsObjectLiteralSyntax() { |
| 119177 | if (_compilerOptionsObjectLiteralSyntax === undefined) { |
| 119178 | _compilerOptionsObjectLiteralSyntax = false; |
no test coverage detected