Tests: add runtime (and runtime sources) to some tests that rely on being able to resolve references to built ins

This commit is contained in:
Pavel V. Talanov
2015-12-10 17:22:45 +03:00
parent 539b84b561
commit a667aa2f71
50 changed files with 81 additions and 16 deletions
@@ -1,4 +1,5 @@
// "Create extension function 'foo'" "true"
// WITH_RUNTIME
fun test() {
val a: Int = Unit.<caret>foo(2)
@@ -1,4 +1,5 @@
// "Create extension function 'foo'" "true"
// WITH_RUNTIME
fun test() {
val a: Int = Unit.foo(2)
@@ -1,4 +1,5 @@
// "Create extension function 'foo'" "true"
// WITH_RUNTIME
class A<T>(val n: T)
@@ -1,4 +1,5 @@
// "Create extension function 'foo'" "true"
// WITH_RUNTIME
class A<T>(val n: T)
@@ -1,4 +1,5 @@
// "Create extension function 'foo'" "true"
// WITH_RUNTIME
class A<T>(val items: List<T>) {
fun test(): Int {
@@ -1,4 +1,5 @@
// "Create extension function 'foo'" "true"
// WITH_RUNTIME
class A<T>(val items: List<T>) {
fun test(): Int {
@@ -1,4 +1,5 @@
// "Create extension function 'foo'" "true"
// WITH_RUNTIME
class A<T>(val items: List<T>) {
fun test(): Int {
@@ -1,4 +1,5 @@
// "Create extension function 'foo'" "true"
// WITH_RUNTIME
class A<T>(val items: List<T>) {
fun test(): Int {
@@ -1,4 +1,5 @@
// "Create extension function 'foo'" "true"
// WITH_RUNTIME
class A<T>(val items: List<T>) {
fun test(): Int {
@@ -1,4 +1,5 @@
// "Create extension function 'foo'" "true"
// WITH_RUNTIME
class A<T>(val items: List<T>) {
fun test(): Int {