https://kotlinlang.org logo
#getting-started
Title
# getting-started
j

Johann Pardanaud

03/09/2023, 1:39 PM
Is there any reason for the first one being possible but not the second one? Is this a limitation of the syntax?
1
(the
suspend
keyword is not useful here, but in my real use case I make an HTTP request)
e

ephemient

03/09/2023, 1:41 PM
that is probably resolving to the stdlib function (not a keyword in that position) https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/suspend.html
j

Johann Pardanaud

03/09/2023, 1:49 PM
yeah, that’s what I thought, Intellij is missleading here with its syntax highlighting
thank you