LT: make where clause with errors parsing same as with PSI
- do not fail on the missing terms - propagate invalid name to avoid reporting dangling constraints #KT-58455 fixed
This commit is contained in:
committed by
Space Team
parent
87563f3aea
commit
1d461684ae
@@ -0,0 +1,6 @@
|
||||
// DIAGNOSTICS: -DEBUG_INFO_MISSING_UNRESOLVED
|
||||
interface I
|
||||
fun <E> foo() where E: I {}
|
||||
fun <E> fooE1() where <!SYNTAX!><!>: I {}
|
||||
fun <E> fooE2() where E: <!SYNTAX, SYNTAX!><!>{}
|
||||
fun <E> fooE3() where <!SYNTAX!><!>{}
|
||||
@@ -0,0 +1,6 @@
|
||||
// DIAGNOSTICS: -DEBUG_INFO_MISSING_UNRESOLVED
|
||||
interface I
|
||||
fun <E> foo() where E: I {}
|
||||
fun <E> fooE1() where <!SYNTAX!><!>: I {}
|
||||
fun <E> fooE2() where E: <!SYNTAX!><!>{}
|
||||
fun <E> fooE3() where <!SYNTAX!><!>{}
|
||||
Reference in New Issue
Block a user