This website requires JavaScript.
Explore
Help
Register
Sign In
azalea
/
kotlin-fork
Watch
1
Star
0
Fork
0
You've already forked kotlin-fork
Code
Issues
Pull Requests
Actions
Packages
Projects
Releases
Wiki
Activity
98,013
Commits
1
Branch
0
Tags
24db9f36809c39cdc013ba76737d8dfeb9104b22
Commit Graph
2 Commits
Author
SHA1
Message
Date
Dmitry Petrov
758548603e
Extra tests for when with val in subject
2018-06-20 14:06:34 +03:00
Dmitry Petrov
5f0c9490bb
Add test for smart cast on a value bound to when subject variable
...
E.g.: when (val y = x?.foo()) { null -> ... else -> ... // 'x' is also non-null here }
2018-06-20 14:06:34 +03:00