Fix broken isReferenceTo checking code for Android extensions

#KT-16132 Fixed
This commit is contained in:
Vyacheslav Gerasimov
2017-02-06 17:16:34 +03:00
parent 25c1828288
commit 39010ab847
29 changed files with 409 additions and 27 deletions
@@ -0,0 +1,17 @@
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/item_detail_container"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".ItemDetailActivity"
tools:ignore="MergeRootFrame" >
<Button
android:id="@+id/NEWNAME"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Sign in" />
</FrameLayout>
@@ -0,0 +1,9 @@
package com.myapp
import android.view.View
import kotlinx.android.synthetic.main.layout.view.*
fun View.a() {
val button = NEWNAME
}