https://kotlinlang.org logo
x

xkor

02/15/2017, 3:31 PM
anybody know why kotlin compiler 1.0.6 returns an exception on next code fragment?
Copy code
val propertyToReload = if (schedule) ContentRepository::liveSchedule else ContentRepository::liveVideos
with exception:
Copy code
Error:Rewrite at slice LEXICAL_SCOPE key: REFERENCE_EXPRESSION old value: Snapshot(0) for CODE_BLOCK@501227439 new value: Snapshot(0) for CODE_BLOCK@592615032
Error:Exception while analyzing expression at (49,46) in {path}/LiveVideosDataProvider.kt: