From ed08a859fa1fb7e7fb9b6da6a318aa5470a8e8e0 Mon Sep 17 00:00:00 2001 From: Andrey Breslav Date: Thu, 13 Oct 2011 15:46:09 +0400 Subject: [PATCH] Error message moved to reference element --- idea/testData/checker/Constructors.jet | 2 +- idea/testData/checker/ExtensionFunctions.jet | 2 +- idea/testData/checkerWithErrorTypes/full/Constructors.jet | 2 +- .../checkerWithErrorTypes/full/ExtensionFunctions.jet | 6 +++--- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/idea/testData/checker/Constructors.jet b/idea/testData/checker/Constructors.jet index 7c6e8582a56..6891d8f1f98 100644 --- a/idea/testData/checker/Constructors.jet +++ b/idea/testData/checker/Constructors.jet @@ -23,7 +23,7 @@ class WithPC1(a : Int) { this(s : String) : this(1) {} - this(b : Char) : this("", 2) {} + this(b : Char) : this("", 2) {} this(b : Byte) : this(""), this(1) {} } diff --git a/idea/testData/checker/ExtensionFunctions.jet b/idea/testData/checker/ExtensionFunctions.jet index 618b16d44e2..f1ec6d22908 100644 --- a/idea/testData/checker/ExtensionFunctions.jet +++ b/idea/testData/checker/ExtensionFunctions.jet @@ -16,7 +16,7 @@ class A fun A.plus(a : Any) { 1.foo() - true.foo() + true.foo() 1 } diff --git a/idea/testData/checkerWithErrorTypes/full/Constructors.jet b/idea/testData/checkerWithErrorTypes/full/Constructors.jet index 370fa759a3e..85a218569ac 100644 --- a/idea/testData/checkerWithErrorTypes/full/Constructors.jet +++ b/idea/testData/checkerWithErrorTypes/full/Constructors.jet @@ -22,7 +22,7 @@ class WithPC1(a : Int) { this(s : String) : this(1) {} - this(b : Char) : this("", 2) {} + this(b : Char) : this("", 2) {} this(b : Byte) : this(""), this(1) {} } diff --git a/idea/testData/checkerWithErrorTypes/full/ExtensionFunctions.jet b/idea/testData/checkerWithErrorTypes/full/ExtensionFunctions.jet index 72d955b6e3f..d12496d9e8b 100644 --- a/idea/testData/checkerWithErrorTypes/full/ExtensionFunctions.jet +++ b/idea/testData/checkerWithErrorTypes/full/ExtensionFunctions.jet @@ -16,7 +16,7 @@ class A fun A.plus(a : Any) { 1.foo() - true.foo() + true.foo() 1 } @@ -55,12 +55,12 @@ namespace null_safety { val command = parse("") - command.foo + command.foo command.equals(null) command?.equals(null) command.equals1(null) - command?.equals1(null) + command?.equals1(null) val c = Command() c?.equals2(null)