- Sort Score
- Result 10 results
- Languages All
Results 11 - 11 of 11 for foo (0.13 sec)
-
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/evaluate/FirCompileTimeConstantEvaluator.kt
val expectedKind = expectedType.toConstantValueKind() // Note that the resolved type for the const expression is not always matched with the const kind. For example, // fun foo(x: Int) { // when (x) { // -2_147_483_628 -> ... // } } // That constant is encoded as `unaryMinus` call with the const 2147483628 of long type, while the resolved type is Int.
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Wed Mar 20 14:53:27 GMT 2024 - 16.5K bytes - Viewed (0)