Check for accessibility of unsigned types when using unsigned literals
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
// !API_VERSION: 1.2
|
||||
|
||||
val a = <!UNSIGNED_LITERAL_WITHOUT_DECLARATIONS_ON_CLASSPATH!>0u<!>
|
||||
val b = <!UNSIGNED_LITERAL_WITHOUT_DECLARATIONS_ON_CLASSPATH!>1uL<!>
|
||||
|
||||
fun foo(<!UNUSED_PARAMETER!>u<!>: <!UNRESOLVED_REFERENCE!>UInt<!>) {}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
package
|
||||
|
||||
public val a: [ERROR : Type cannot be resolved. Please make sure you have the required dependencies for unsigned types in the classpath]
|
||||
public val b: [ERROR : Type cannot be resolved. Please make sure you have the required dependencies for unsigned types in the classpath]
|
||||
public fun foo(/*0*/ u: [ERROR : UInt]): kotlin.Unit
|
||||
Reference in New Issue
Block a user