From 709ff80d631c50ca6547f64f3bbe9cc3ab73d5f1 Mon Sep 17 00:00:00 2001 From: Stepan Koltsov Date: Fri, 13 Jan 2012 03:55:10 +0400 Subject: [PATCH] more tests --- .../testData/readClass/prop/ExtValIntListQOfIntInClass.kt | 6 ++++++ compiler/testData/readClass/prop/ExtValIntTInClass.kt | 6 ++++++ compiler/testData/readClass/prop/ExtValIntTQInClass.kt | 6 ++++++ compiler/testData/readClass/prop/ExtValTIntInClass.kt | 6 ++++++ compiler/testData/readClass/prop/ExtVarIntTInClass.kt | 7 +++++++ compiler/testData/readClass/prop/ExtVarIntTQInClass.kt | 7 +++++++ compiler/testData/readClass/prop/ExtVarTIntInClass.kt | 7 +++++++ compiler/testData/readClass/prop/ExtVarTQIntInClass.kt | 7 +++++++ 8 files changed, 52 insertions(+) create mode 100644 compiler/testData/readClass/prop/ExtValIntListQOfIntInClass.kt create mode 100644 compiler/testData/readClass/prop/ExtValIntTInClass.kt create mode 100644 compiler/testData/readClass/prop/ExtValIntTQInClass.kt create mode 100644 compiler/testData/readClass/prop/ExtValTIntInClass.kt create mode 100644 compiler/testData/readClass/prop/ExtVarIntTInClass.kt create mode 100644 compiler/testData/readClass/prop/ExtVarIntTQInClass.kt create mode 100644 compiler/testData/readClass/prop/ExtVarTIntInClass.kt create mode 100644 compiler/testData/readClass/prop/ExtVarTQIntInClass.kt diff --git a/compiler/testData/readClass/prop/ExtValIntListQOfIntInClass.kt b/compiler/testData/readClass/prop/ExtValIntListQOfIntInClass.kt new file mode 100644 index 00000000000..bced635853c --- /dev/null +++ b/compiler/testData/readClass/prop/ExtValIntListQOfIntInClass.kt @@ -0,0 +1,6 @@ +package test + +class ExtValInClass { + val Int.asas: java.util.List? + get() = throw Exception() +} diff --git a/compiler/testData/readClass/prop/ExtValIntTInClass.kt b/compiler/testData/readClass/prop/ExtValIntTInClass.kt new file mode 100644 index 00000000000..4b8146228a2 --- /dev/null +++ b/compiler/testData/readClass/prop/ExtValIntTInClass.kt @@ -0,0 +1,6 @@ +package test + +class ExtValInClass { + val Int.asas: T + get() = throw Exception() +} diff --git a/compiler/testData/readClass/prop/ExtValIntTQInClass.kt b/compiler/testData/readClass/prop/ExtValIntTQInClass.kt new file mode 100644 index 00000000000..665ef807303 --- /dev/null +++ b/compiler/testData/readClass/prop/ExtValIntTQInClass.kt @@ -0,0 +1,6 @@ +package test + +class ExtValInClass

{ + val Int.asas: P? + get() = throw Exception() +} diff --git a/compiler/testData/readClass/prop/ExtValTIntInClass.kt b/compiler/testData/readClass/prop/ExtValTIntInClass.kt new file mode 100644 index 00000000000..b1eb29567ed --- /dev/null +++ b/compiler/testData/readClass/prop/ExtValTIntInClass.kt @@ -0,0 +1,6 @@ +package test + +class ExtValPIntInClass

{ + val P.asas: Int + get() = throw Exception() +} diff --git a/compiler/testData/readClass/prop/ExtVarIntTInClass.kt b/compiler/testData/readClass/prop/ExtVarIntTInClass.kt new file mode 100644 index 00000000000..55ff0f66db4 --- /dev/null +++ b/compiler/testData/readClass/prop/ExtVarIntTInClass.kt @@ -0,0 +1,7 @@ +package test + +class ExtValInClass

{ + var Int.asas: P + get() = throw Exception() + set(p: P) = throw Exception() +} diff --git a/compiler/testData/readClass/prop/ExtVarIntTQInClass.kt b/compiler/testData/readClass/prop/ExtVarIntTQInClass.kt new file mode 100644 index 00000000000..ea0a6d7b512 --- /dev/null +++ b/compiler/testData/readClass/prop/ExtVarIntTQInClass.kt @@ -0,0 +1,7 @@ +package test + +class ExtValInClass

{ + var Int.asas: P? + get() = throw Exception() + set(p: P?) = throw Exception() +} diff --git a/compiler/testData/readClass/prop/ExtVarTIntInClass.kt b/compiler/testData/readClass/prop/ExtVarTIntInClass.kt new file mode 100644 index 00000000000..944b4167060 --- /dev/null +++ b/compiler/testData/readClass/prop/ExtVarTIntInClass.kt @@ -0,0 +1,7 @@ +package test + +class ExtValPIntInClass

{ + var P.asas: Int + get() = throw Exception() + set(p: Int) = throw Exception() +} diff --git a/compiler/testData/readClass/prop/ExtVarTQIntInClass.kt b/compiler/testData/readClass/prop/ExtVarTQIntInClass.kt new file mode 100644 index 00000000000..78b6b63aa93 --- /dev/null +++ b/compiler/testData/readClass/prop/ExtVarTQIntInClass.kt @@ -0,0 +1,7 @@ +package test + +class ExtValPIntInClass

{ + var P?.asas: Int + get() = throw Exception() + set(p: Int) = throw Exception() +}