(message: string, textRange: TextRange)
| 917 | } |
| 918 | |
| 919 | private _addError(message: string, textRange: TextRange) { |
| 920 | // Don't emit error if the scope is guaranteed not to be executed. |
| 921 | if (!this._currentScope.isNotExecuted()) { |
| 922 | this._fileInfo.diagnosticSink.addErrorWithTextRange(message, textRange); |
| 923 | } |
| 924 | } |
| 925 | |
| 926 | private _addWarning(message: string, textRange: TextRange) { |
| 927 | // Don't emit error if the scope is guaranteed not to be executed. |
nothing calls this directly
no test coverage detected
searching dependent graphs…