[Tests] Fix TreesCompareTest.testCompareDiagnostics

This commit is contained in:
Anastasiya Shadrina
2021-10-27 06:02:24 +07:00
committed by TeamCityServer
parent c59ed6344e
commit 43e3fc2b8d
@@ -1951,7 +1951,7 @@ class DeclarationsConverter(
source = typeRefSource
diagnostic = ConeSimpleDiagnostic("Intersection types are not supported yet", DiagnosticKind.Syntax)
}
TokenType.ERROR_ELEMENT -> firType =
CONTEXT_RECEIVER_LIST, TokenType.ERROR_ELEMENT -> firType =
buildErrorTypeRef {
source = typeRefSource
diagnostic = ConeSimpleDiagnostic("Unwrapped type is null", DiagnosticKind.Syntax)