Join Slack
Powered by
can someone explain why line 2 doesn't work ? the ...
# getting-started
l
LastExceed
01/30/2022, 1:46 PM
can someone explain why line 2 doesn't work ? the error is
Copy code
Type mismatch. Required: suspend (Int) → Int Found: (Int) → Int
tbh i find it weird that i MUST rely on type inference to create such a lambda in the first place
Untitled.kt
2
Views
Open in Slack
Previous
Next