From 07ff53d456baca2053c061e3903785c7a44eaa08 Mon Sep 17 00:00:00 2001 From: Stepan Koltsov Date: Mon, 12 Mar 2012 22:54:14 +0400 Subject: [PATCH] add trailing newlines to test files otherwise I have to rollback dozens of files after using sed that follows conventions --- compiler/testData/diagnostics/tests/AbstractInTrait.jet | 2 +- compiler/testData/diagnostics/tests/AnonymousInitializers.jet | 2 +- compiler/testData/diagnostics/tests/AutoCreatedIt.jet | 2 +- .../diagnostics/tests/AutocastsForStableIdentifiers.jet | 2 +- compiler/testData/diagnostics/tests/Basic.jet | 2 +- .../testData/diagnostics/tests/BinaryCallsOnNullableValues.jet | 2 +- compiler/testData/diagnostics/tests/BreakContinue.jet | 2 +- compiler/testData/diagnostics/tests/Builders.jet | 2 +- compiler/testData/diagnostics/tests/Casts.jet | 2 +- compiler/testData/diagnostics/tests/Constants.jet | 2 +- compiler/testData/diagnostics/tests/Constructors.jet | 2 +- compiler/testData/diagnostics/tests/CyclicHierarchy.jet | 2 +- compiler/testData/diagnostics/tests/DanglingFunctionLiteral.jet | 2 +- .../testData/diagnostics/tests/DefaultValuesTypechecking.jet | 2 +- compiler/testData/diagnostics/tests/DelegationAndOverriding.jet | 2 +- compiler/testData/diagnostics/tests/DelegationNotTotrait.jet | 2 +- compiler/testData/diagnostics/tests/Enums.jet | 2 +- .../testData/diagnostics/tests/FunctionCalleeExpressions.jet | 2 +- compiler/testData/diagnostics/tests/FunctionReturnTypes.jet | 2 +- .../testData/diagnostics/tests/GenericArgumentConsistency.jet | 2 +- .../diagnostics/tests/GenericFunctionIsLessSpecific.jet | 2 +- compiler/testData/diagnostics/tests/IllegalModifiers.jet | 2 +- compiler/testData/diagnostics/tests/IncDec.jet | 2 +- .../testData/diagnostics/tests/IncorrectCharacterLiterals.jet | 2 +- .../testData/diagnostics/tests/InferNullabilityInThenBlock.jet | 2 +- compiler/testData/diagnostics/tests/IsExpressions.jet | 2 +- .../diagnostics/tests/NamedArgumentsAndDefaultValues.jet | 2 +- compiler/testData/diagnostics/tests/PrimaryConstructors.jet | 2 +- .../diagnostics/tests/ProjectionOnFunctionArgumentErrror.jet | 2 +- compiler/testData/diagnostics/tests/ProjectionsInSupertypes.jet | 2 +- compiler/testData/diagnostics/tests/QualifiedExpressions.jet | 2 +- compiler/testData/diagnostics/tests/QualifiedThis.jet | 2 +- compiler/testData/diagnostics/tests/RecursiveTypeInference.jet | 2 +- compiler/testData/diagnostics/tests/Redeclarations.jet | 2 +- compiler/testData/diagnostics/tests/ResolveOfJavaGenerics.jet | 2 +- compiler/testData/diagnostics/tests/ResolveToJava.jet | 2 +- compiler/testData/diagnostics/tests/Return.jet | 2 +- compiler/testData/diagnostics/tests/SafeCallNonNullReceiver.jet | 2 +- .../diagnostics/tests/SafeCallNonNullReceiverReturnNull.jet | 2 +- compiler/testData/diagnostics/tests/StringTemplates.jet | 2 +- compiler/testData/diagnostics/tests/Super.jet | 2 +- compiler/testData/diagnostics/tests/SupertypeListChecks.jet | 2 +- compiler/testData/diagnostics/tests/TraitSupertypeList.jet | 2 +- compiler/testData/diagnostics/tests/TypeInference.jet | 2 +- .../diagnostics/tests/UninitializedOrReassignedVariables.jet | 2 +- .../diagnostics/tests/UnitByDefaultForFunctionTypes.jet | 2 +- compiler/testData/diagnostics/tests/UnreachableCode.jet | 2 +- compiler/testData/diagnostics/tests/Unresolved.jet | 2 +- compiler/testData/diagnostics/tests/UnusedVariables.jet | 2 +- compiler/testData/diagnostics/tests/Varargs.jet | 2 +- compiler/testData/diagnostics/tests/Variance.jet | 2 +- compiler/testData/diagnostics/tests/When.jet | 2 +- .../testData/diagnostics/tests/annotations/BasicAnnotations.jet | 2 +- .../backingField/ReadNonexistentAbstractPropertyInAnonymous.jet | 2 +- .../backingField/ReadNonexistentAbstractPropertyInFunction.jet | 2 +- .../tests/backingField/ReadNonexistentCustomGetInAnonymous.jet | 2 +- .../ReadNonexistentCustomGetInAnotherInitializer.jet | 2 +- .../tests/backingField/ReadNonexistentDeclaredInHigher.jet | 2 +- .../tests/backingField/WriteNonexistentDeclaredInHigher.jet | 2 +- .../tests/backingField/kt462BackingFieldsResolve.jet | 2 +- .../diagnostics/tests/backingField/kt782namespaceLevel.jet | 2 +- .../testData/diagnostics/tests/controlFlowAnalysis/kt1001.jet | 2 +- .../testData/diagnostics/tests/controlFlowAnalysis/kt1027.jet | 2 +- .../testData/diagnostics/tests/controlFlowAnalysis/kt1066.jet | 2 +- .../testData/diagnostics/tests/controlFlowAnalysis/kt1189.jet | 2 +- .../testData/diagnostics/tests/controlFlowAnalysis/kt510.jet | 2 +- .../testData/diagnostics/tests/controlFlowAnalysis/kt607.jet | 2 +- .../testData/diagnostics/tests/controlFlowAnalysis/kt609.jet | 2 +- .../testData/diagnostics/tests/controlFlowAnalysis/kt610.jet | 2 +- .../testData/diagnostics/tests/controlFlowAnalysis/kt776.jet | 2 +- .../testData/diagnostics/tests/controlFlowAnalysis/kt843.jet | 2 +- .../testData/diagnostics/tests/controlFlowAnalysis/kt897.jet | 2 +- .../tests/controlStructures/kt770.kt351.kt735_StatementType.jet | 2 +- compiler/testData/diagnostics/tests/controlStructures/kt786.jet | 2 +- .../diagnostics/tests/controlStructures/when.kt234.kt973.jet | 2 +- .../testData/diagnostics/tests/declarationChecks/kt1141.jet | 2 +- compiler/testData/diagnostics/tests/declarationChecks/kt559.jet | 2 +- .../diagnostics/tests/extensions/ExtensionFunctions.jet | 2 +- .../diagnostics/tests/extensions/ExtensionsCalledOnSuper.jet | 2 +- .../testData/diagnostics/tests/extensions/GenericIterator.jet | 2 +- .../diagnostics/tests/extensions/kt819ExtensionProperties.jet | 2 +- compiler/testData/diagnostics/tests/inference/kt1293.jet | 2 +- compiler/testData/diagnostics/tests/infos/Autocasts.jet | 2 +- .../diagnostics/tests/infos/PropertiesWithBackingFields.jet | 2 +- .../tests/nullabilityAndAutoCasts/InfixCallNullability.jet | 2 +- .../diagnostics/tests/nullabilityAndAutoCasts/kt244.jet | 2 +- .../testData/diagnostics/tests/objects/ObjectsInheritance.jet | 2 +- .../testData/diagnostics/tests/operatorsOverloading/kt1028.jet | 2 +- .../tests/regressions/AmbiguityOnLazyTypeComputation.jet | 2 +- .../diagnostics/tests/regressions/AssignmentsUnderOperators.jet | 2 +- .../testData/diagnostics/tests/regressions/CoercionToUnit.jet | 2 +- .../tests/regressions/ErrorsOnIbjectExpressionsAsParameters.jet | 2 +- compiler/testData/diagnostics/tests/regressions/Jet121.jet | 2 +- compiler/testData/diagnostics/tests/regressions/Jet124.jet | 2 +- compiler/testData/diagnostics/tests/regressions/Jet169.jet | 2 +- compiler/testData/diagnostics/tests/regressions/Jet17.jet | 2 +- compiler/testData/diagnostics/tests/regressions/Jet183-1.jet | 2 +- compiler/testData/diagnostics/tests/regressions/Jet183.jet | 2 +- compiler/testData/diagnostics/tests/regressions/Jet68.jet | 2 +- compiler/testData/diagnostics/tests/regressions/Jet69.jet | 2 +- compiler/testData/diagnostics/tests/regressions/Jet81.jet | 2 +- .../testData/diagnostics/tests/regressions/OutProjections.jet | 2 +- .../tests/regressions/ScopeForSecondaryConstructors.jet | 2 +- .../diagnostics/tests/regressions/SpecififcityByReceiver.jet | 2 +- .../tests/regressions/ThisConstructorInGenericClass.jet | 2 +- .../diagnostics/tests/regressions/WrongTraceInCallResolver.jet | 2 +- compiler/testData/diagnostics/tests/regressions/kt127.jet | 2 +- compiler/testData/diagnostics/tests/regressions/kt128.jet | 2 +- compiler/testData/diagnostics/tests/regressions/kt201.jet | 2 +- compiler/testData/diagnostics/tests/regressions/kt235.jet | 2 +- compiler/testData/diagnostics/tests/regressions/kt251.jet | 2 +- compiler/testData/diagnostics/tests/regressions/kt258.jet | 2 +- compiler/testData/diagnostics/tests/regressions/kt26-1.jet | 2 +- compiler/testData/diagnostics/tests/regressions/kt26.jet | 2 +- compiler/testData/diagnostics/tests/regressions/kt282.jet | 2 +- compiler/testData/diagnostics/tests/regressions/kt287.jet | 2 +- compiler/testData/diagnostics/tests/regressions/kt302.jet | 2 +- compiler/testData/diagnostics/tests/regressions/kt303.jet | 2 +- compiler/testData/diagnostics/tests/regressions/kt306.jet | 2 +- compiler/testData/diagnostics/tests/regressions/kt316.jet | 2 +- compiler/testData/diagnostics/tests/regressions/kt335.336.jet | 2 +- compiler/testData/diagnostics/tests/regressions/kt352.jet | 2 +- compiler/testData/diagnostics/tests/regressions/kt353.jet | 2 +- compiler/testData/diagnostics/tests/regressions/kt394.jet | 2 +- compiler/testData/diagnostics/tests/regressions/kt398.jet | 2 +- compiler/testData/diagnostics/tests/regressions/kt399.jet | 2 +- compiler/testData/diagnostics/tests/regressions/kt402.jet | 2 +- compiler/testData/diagnostics/tests/regressions/kt41.jet | 2 +- compiler/testData/diagnostics/tests/regressions/kt411.jet | 2 +- compiler/testData/diagnostics/tests/regressions/kt439.jet | 2 +- compiler/testData/diagnostics/tests/regressions/kt442.jet | 2 +- compiler/testData/diagnostics/tests/regressions/kt443.jet | 2 +- compiler/testData/diagnostics/tests/regressions/kt455.jet | 2 +- compiler/testData/diagnostics/tests/regressions/kt456.jet | 2 +- compiler/testData/diagnostics/tests/regressions/kt459.jet | 2 +- .../tests/regressions/kt526UnresolvedReferenceInnerStatic.jet | 2 +- compiler/testData/diagnostics/tests/regressions/kt557.jet | 2 +- compiler/testData/diagnostics/tests/regressions/kt575.jet | 2 +- compiler/testData/diagnostics/tests/regressions/kt58.jet | 2 +- compiler/testData/diagnostics/tests/regressions/kt597.jet | 2 +- compiler/testData/diagnostics/tests/regressions/kt618.jet | 2 +- compiler/testData/diagnostics/tests/regressions/kt629.jet | 2 +- compiler/testData/diagnostics/tests/regressions/kt630.jet | 2 +- compiler/testData/diagnostics/tests/regressions/kt688.jet | 2 +- compiler/testData/diagnostics/tests/regressions/kt691.jet | 2 +- compiler/testData/diagnostics/tests/regressions/kt701.jet | 2 +- compiler/testData/diagnostics/tests/regressions/kt716.jet | 2 +- compiler/testData/diagnostics/tests/regressions/kt743.jet | 2 +- compiler/testData/diagnostics/tests/regressions/kt762.jet | 2 +- compiler/testData/diagnostics/tests/regressions/kt847.jet | 2 +- compiler/testData/diagnostics/tests/scopes/Imports.jet | 2 +- compiler/testData/diagnostics/tests/scopes/kt1078.jet | 2 +- compiler/testData/diagnostics/tests/scopes/kt1080.jet | 2 +- compiler/testData/diagnostics/tests/scopes/kt250.617.10.jet | 2 +- compiler/testData/diagnostics/tests/scopes/kt587.jet | 2 +- compiler/testData/diagnostics/tests/scopes/kt900.jet | 2 +- compiler/testData/diagnostics/tests/scopes/kt939.jet | 2 +- .../tests/shadowing/ShadowParameterInFunctionBody.jet | 2 +- .../tests/shadowing/ShadowParameterInNestedBlockInFor.jet | 2 +- .../diagnostics/tests/shadowing/ShadowVariableInNestedBlock.jet | 2 +- .../tests/shadowing/ShadowVariableInNestedClosure.jet | 2 +- .../tests/shadowing/ShadowVariableInNestedClosureParam.jet | 2 +- compiler/testData/diagnostics/tests/tuples/BasicTuples.jet | 2 +- 163 files changed, 163 insertions(+), 163 deletions(-) diff --git a/compiler/testData/diagnostics/tests/AbstractInTrait.jet b/compiler/testData/diagnostics/tests/AbstractInTrait.jet index dbc9d20f8a1..cb9aff440f1 100644 --- a/compiler/testData/diagnostics/tests/AbstractInTrait.jet +++ b/compiler/testData/diagnostics/tests/AbstractInTrait.jet @@ -42,4 +42,4 @@ trait MyTrait { var l1: Int = 0; abstract get abstract set var n: Int abstract get abstract set(v: Int) {} -} \ No newline at end of file +} diff --git a/compiler/testData/diagnostics/tests/AnonymousInitializers.jet b/compiler/testData/diagnostics/tests/AnonymousInitializers.jet index b8922a192bb..51ffa96a42c 100644 --- a/compiler/testData/diagnostics/tests/AnonymousInitializers.jet +++ b/compiler/testData/diagnostics/tests/AnonymousInitializers.jet @@ -31,4 +31,4 @@ class WithC() { val b = x } -} \ No newline at end of file +} diff --git a/compiler/testData/diagnostics/tests/AutoCreatedIt.jet b/compiler/testData/diagnostics/tests/AutoCreatedIt.jet index c89b3d01850..25af3f99721 100644 --- a/compiler/testData/diagnostics/tests/AutoCreatedIt.jet +++ b/compiler/testData/diagnostics/tests/AutoCreatedIt.jet @@ -29,4 +29,4 @@ fun String.on(predicate : (s : URI) -> Boolean) : URI { class URI(val body : Any) { fun to(dest : String) {} -} \ No newline at end of file +} diff --git a/compiler/testData/diagnostics/tests/AutocastsForStableIdentifiers.jet b/compiler/testData/diagnostics/tests/AutocastsForStableIdentifiers.jet index de170feeb32..2e0aa61f5ba 100644 --- a/compiler/testData/diagnostics/tests/AutocastsForStableIdentifiers.jet +++ b/compiler/testData/diagnostics/tests/AutocastsForStableIdentifiers.jet @@ -89,4 +89,4 @@ open class C { t = this@C } } -} \ No newline at end of file +} diff --git a/compiler/testData/diagnostics/tests/Basic.jet b/compiler/testData/diagnostics/tests/Basic.jet index 0a0673ca5eb..0194bdfba91 100644 --- a/compiler/testData/diagnostics/tests/Basic.jet +++ b/compiler/testData/diagnostics/tests/Basic.jet @@ -12,4 +12,4 @@ class A() { val x : Int = foo1(xx) } -fun foo1() {} \ No newline at end of file +fun foo1() {} diff --git a/compiler/testData/diagnostics/tests/BinaryCallsOnNullableValues.jet b/compiler/testData/diagnostics/tests/BinaryCallsOnNullableValues.jet index 78025e69a83..784ac90e25e 100644 --- a/compiler/testData/diagnostics/tests/BinaryCallsOnNullableValues.jet +++ b/compiler/testData/diagnostics/tests/BinaryCallsOnNullableValues.jet @@ -38,4 +38,4 @@ fun f(): Unit { false || y y && true y && 1 -} \ No newline at end of file +} diff --git a/compiler/testData/diagnostics/tests/BreakContinue.jet b/compiler/testData/diagnostics/tests/BreakContinue.jet index 4502e880282..ba2ada76655 100644 --- a/compiler/testData/diagnostics/tests/BreakContinue.jet +++ b/compiler/testData/diagnostics/tests/BreakContinue.jet @@ -82,4 +82,4 @@ class C { } a.compareTo("2") } -} \ No newline at end of file +} diff --git a/compiler/testData/diagnostics/tests/Builders.jet b/compiler/testData/diagnostics/tests/Builders.jet index b27a062955a..b48483f75f8 100644 --- a/compiler/testData/diagnostics/tests/Builders.jet +++ b/compiler/testData/diagnostics/tests/Builders.jet @@ -157,4 +157,4 @@ fun println(message : Any?) { fun print(message : Any?) { System.out?.print(message) -} \ No newline at end of file +} diff --git a/compiler/testData/diagnostics/tests/Casts.jet b/compiler/testData/diagnostics/tests/Casts.jet index b63af35a916..186124aeb95 100644 --- a/compiler/testData/diagnostics/tests/Casts.jet +++ b/compiler/testData/diagnostics/tests/Casts.jet @@ -13,4 +13,4 @@ fun test() : Unit { x as? Int? : Int? y as? Int? : Int? #() -} \ No newline at end of file +} diff --git a/compiler/testData/diagnostics/tests/Constants.jet b/compiler/testData/diagnostics/tests/Constants.jet index cc908e189f0..823fd98d279 100644 --- a/compiler/testData/diagnostics/tests/Constants.jet +++ b/compiler/testData/diagnostics/tests/Constants.jet @@ -5,4 +5,4 @@ fun test() { 1 as Byte 1 as Int 1 as Double -} \ No newline at end of file +} diff --git a/compiler/testData/diagnostics/tests/Constructors.jet b/compiler/testData/diagnostics/tests/Constructors.jet index be8aa235f58..6aed9765f29 100644 --- a/compiler/testData/diagnostics/tests/Constructors.jet +++ b/compiler/testData/diagnostics/tests/Constructors.jet @@ -47,4 +47,4 @@ class NoCPI { var ab = 1 get() = 1 set(v) {} -} \ No newline at end of file +} diff --git a/compiler/testData/diagnostics/tests/CyclicHierarchy.jet b/compiler/testData/diagnostics/tests/CyclicHierarchy.jet index e0857d24e0f..c3a1650653b 100644 --- a/compiler/testData/diagnostics/tests/CyclicHierarchy.jet +++ b/compiler/testData/diagnostics/tests/CyclicHierarchy.jet @@ -27,4 +27,4 @@ fun test() { f?.foo() g?.foo() h?.foo() -} \ No newline at end of file +} diff --git a/compiler/testData/diagnostics/tests/DanglingFunctionLiteral.jet b/compiler/testData/diagnostics/tests/DanglingFunctionLiteral.jet index 1b110ac6951..4020cbaa107 100644 --- a/compiler/testData/diagnostics/tests/DanglingFunctionLiteral.jet +++ b/compiler/testData/diagnostics/tests/DanglingFunctionLiteral.jet @@ -26,4 +26,4 @@ fun foo1() = { fun println(i : Int) {} fun println(s : Byte) {} -fun println() {} \ No newline at end of file +fun println() {} diff --git a/compiler/testData/diagnostics/tests/DefaultValuesTypechecking.jet b/compiler/testData/diagnostics/tests/DefaultValuesTypechecking.jet index 5e178a2ac17..0f9cc687872 100644 --- a/compiler/testData/diagnostics/tests/DefaultValuesTypechecking.jet +++ b/compiler/testData/diagnostics/tests/DefaultValuesTypechecking.jet @@ -12,4 +12,4 @@ class A(x : Int = y, y : Int = x) { // None of the val z = 3 -fun foo(x: Int = y, y: Int = x, i : Int = z): Int = x + y \ No newline at end of file +fun foo(x: Int = y, y: Int = x, i : Int = z): Int = x + y diff --git a/compiler/testData/diagnostics/tests/DelegationAndOverriding.jet b/compiler/testData/diagnostics/tests/DelegationAndOverriding.jet index 388653da85a..5b2c9bc2914 100644 --- a/compiler/testData/diagnostics/tests/DelegationAndOverriding.jet +++ b/compiler/testData/diagnostics/tests/DelegationAndOverriding.jet @@ -35,4 +35,4 @@ open class GC1(g : G) : G by g { open class GC2(g : G) : GC1(g) { -} \ No newline at end of file +} diff --git a/compiler/testData/diagnostics/tests/DelegationNotTotrait.jet b/compiler/testData/diagnostics/tests/DelegationNotTotrait.jet index 646fba1f94d..cad5235de51 100644 --- a/compiler/testData/diagnostics/tests/DelegationNotTotrait.jet +++ b/compiler/testData/diagnostics/tests/DelegationNotTotrait.jet @@ -10,4 +10,4 @@ class Br(t : T) : T by t {} open enum class E() {} -class Test2(e : E) : E by e {} \ No newline at end of file +class Test2(e : E) : E by e {} diff --git a/compiler/testData/diagnostics/tests/Enums.jet b/compiler/testData/diagnostics/tests/Enums.jet index 0ef400fda22..4f387eac4be 100644 --- a/compiler/testData/diagnostics/tests/Enums.jet +++ b/compiler/testData/diagnostics/tests/Enums.jet @@ -7,4 +7,4 @@ enum class List(val size : Int) { } val foo = List.Nil -val foo1 = foo.a \ No newline at end of file +val foo1 = foo.a diff --git a/compiler/testData/diagnostics/tests/FunctionCalleeExpressions.jet b/compiler/testData/diagnostics/tests/FunctionCalleeExpressions.jet index 744c59cbd80..1d8cd306fe0 100644 --- a/compiler/testData/diagnostics/tests/FunctionCalleeExpressions.jet +++ b/compiler/testData/diagnostics/tests/FunctionCalleeExpressions.jet @@ -79,4 +79,4 @@ fun test() { {}() 1?.{Int.() -> 1}() 1.{}() -} \ No newline at end of file +} diff --git a/compiler/testData/diagnostics/tests/FunctionReturnTypes.jet b/compiler/testData/diagnostics/tests/FunctionReturnTypes.jet index 068f6388c9c..53f9c49638a 100644 --- a/compiler/testData/diagnostics/tests/FunctionReturnTypes.jet +++ b/compiler/testData/diagnostics/tests/FunctionReturnTypes.jet @@ -211,4 +211,4 @@ fun testFunctionLiterals() { object A {} } -} \ No newline at end of file +} diff --git a/compiler/testData/diagnostics/tests/GenericArgumentConsistency.jet b/compiler/testData/diagnostics/tests/GenericArgumentConsistency.jet index 9d4152dd963..dc5dddb65dc 100644 --- a/compiler/testData/diagnostics/tests/GenericArgumentConsistency.jet +++ b/compiler/testData/diagnostics/tests/GenericArgumentConsistency.jet @@ -40,4 +40,4 @@ package sx2 trait AA1 {} trait AB1 : AA1 {} trait AB3 : AA1> {} - trait AB2 : AA1, AB1, AB3 {} \ No newline at end of file + trait AB2 : AA1, AB1, AB3 {} diff --git a/compiler/testData/diagnostics/tests/GenericFunctionIsLessSpecific.jet b/compiler/testData/diagnostics/tests/GenericFunctionIsLessSpecific.jet index 868937e8397..d7963a672d7 100644 --- a/compiler/testData/diagnostics/tests/GenericFunctionIsLessSpecific.jet +++ b/compiler/testData/diagnostics/tests/GenericFunctionIsLessSpecific.jet @@ -5,4 +5,4 @@ fun foo(i : Int) : Int = 1 fun test() { foo(1) : Int foo("s") : Unit -} \ No newline at end of file +} diff --git a/compiler/testData/diagnostics/tests/IllegalModifiers.jet b/compiler/testData/diagnostics/tests/IllegalModifiers.jet index 94e23907adf..4310bafcdc3 100644 --- a/compiler/testData/diagnostics/tests/IllegalModifiers.jet +++ b/compiler/testData/diagnostics/tests/IllegalModifiers.jet @@ -18,4 +18,4 @@ class FinalClass() { open get(): Int = $i var j: Int = 1 open set(v: Int) {} -} \ No newline at end of file +} diff --git a/compiler/testData/diagnostics/tests/IncDec.jet b/compiler/testData/diagnostics/tests/IncDec.jet index 36f235c0734..995b2057679 100644 --- a/compiler/testData/diagnostics/tests/IncDec.jet +++ b/compiler/testData/diagnostics/tests/IncDec.jet @@ -43,4 +43,4 @@ fun testUnitIncDec() { x = x-- x = ++x x = --x -} \ No newline at end of file +} diff --git a/compiler/testData/diagnostics/tests/IncorrectCharacterLiterals.jet b/compiler/testData/diagnostics/tests/IncorrectCharacterLiterals.jet index 651bc3c479e..0e1230675d2 100644 --- a/compiler/testData/diagnostics/tests/IncorrectCharacterLiterals.jet +++ b/compiler/testData/diagnostics/tests/IncorrectCharacterLiterals.jet @@ -34,4 +34,4 @@ fun test() { '\u000z' '\\u000' '\' -} \ No newline at end of file +} diff --git a/compiler/testData/diagnostics/tests/InferNullabilityInThenBlock.jet b/compiler/testData/diagnostics/tests/InferNullabilityInThenBlock.jet index 17a21679c79..ccc21f8c95d 100644 --- a/compiler/testData/diagnostics/tests/InferNullabilityInThenBlock.jet +++ b/compiler/testData/diagnostics/tests/InferNullabilityInThenBlock.jet @@ -6,4 +6,4 @@ fun gg() { if (a != null) { ff(a) } -} \ No newline at end of file +} diff --git a/compiler/testData/diagnostics/tests/IsExpressions.jet b/compiler/testData/diagnostics/tests/IsExpressions.jet index 960f3711e37..141687c2286 100644 --- a/compiler/testData/diagnostics/tests/IsExpressions.jet +++ b/compiler/testData/diagnostics/tests/IsExpressions.jet @@ -4,4 +4,4 @@ fun test() { } } -} \ No newline at end of file +} diff --git a/compiler/testData/diagnostics/tests/NamedArgumentsAndDefaultValues.jet b/compiler/testData/diagnostics/tests/NamedArgumentsAndDefaultValues.jet index 8f9476575d4..8cfd720f404 100644 --- a/compiler/testData/diagnostics/tests/NamedArgumentsAndDefaultValues.jet +++ b/compiler/testData/diagnostics/tests/NamedArgumentsAndDefaultValues.jet @@ -20,4 +20,4 @@ fun test() { bar(1, 1, "") bar(1, z = "") bar(1, zz = "", zz.foo) -} \ No newline at end of file +} diff --git a/compiler/testData/diagnostics/tests/PrimaryConstructors.jet b/compiler/testData/diagnostics/tests/PrimaryConstructors.jet index ae0c92409e0..5bc4f0face5 100644 --- a/compiler/testData/diagnostics/tests/PrimaryConstructors.jet +++ b/compiler/testData/diagnostics/tests/PrimaryConstructors.jet @@ -28,4 +28,4 @@ class MyIterable : Iterable throw UnsupportedOperationException() } } -} \ No newline at end of file +} diff --git a/compiler/testData/diagnostics/tests/ProjectionOnFunctionArgumentErrror.jet b/compiler/testData/diagnostics/tests/ProjectionOnFunctionArgumentErrror.jet index d509e83f5ad..e8b80c8f4ca 100644 --- a/compiler/testData/diagnostics/tests/ProjectionOnFunctionArgumentErrror.jet +++ b/compiler/testData/diagnostics/tests/ProjectionOnFunctionArgumentErrror.jet @@ -1,4 +1,4 @@ fun test() { fun foo(){} foo<in Int>() -} \ No newline at end of file +} diff --git a/compiler/testData/diagnostics/tests/ProjectionsInSupertypes.jet b/compiler/testData/diagnostics/tests/ProjectionsInSupertypes.jet index c02bb72b6a2..9d74079159d 100644 --- a/compiler/testData/diagnostics/tests/ProjectionsInSupertypes.jet +++ b/compiler/testData/diagnostics/tests/ProjectionsInSupertypes.jet @@ -3,4 +3,4 @@ trait B {} trait C {} trait D {} -trait Test : A<in Int>, B<out Int>, C<*>???, D {} \ No newline at end of file +trait Test : A<in Int>, B<out Int>, C<*>???, D {} diff --git a/compiler/testData/diagnostics/tests/QualifiedExpressions.jet b/compiler/testData/diagnostics/tests/QualifiedExpressions.jet index 3b8b899e892..4760d6ac3a0 100644 --- a/compiler/testData/diagnostics/tests/QualifiedExpressions.jet +++ b/compiler/testData/diagnostics/tests/QualifiedExpressions.jet @@ -10,4 +10,4 @@ fun test(s: String?) { val g: Boolean? = e.startsWith("s")//?.length } -fun String.startsWith(s: String): Boolean = true \ No newline at end of file +fun String.startsWith(s: String): Boolean = true diff --git a/compiler/testData/diagnostics/tests/QualifiedThis.jet b/compiler/testData/diagnostics/tests/QualifiedThis.jet index de7f781020e..94058bbe1fb 100644 --- a/compiler/testData/diagnostics/tests/QualifiedThis.jet +++ b/compiler/testData/diagnostics/tests/QualifiedThis.jet @@ -39,4 +39,4 @@ package closures return (@a{Double.() -> this@a : Double + this@xx : Char}) } } - } \ No newline at end of file + } diff --git a/compiler/testData/diagnostics/tests/RecursiveTypeInference.jet b/compiler/testData/diagnostics/tests/RecursiveTypeInference.jet index 095d92d9458..68f6a2bf5ca 100644 --- a/compiler/testData/diagnostics/tests/RecursiveTypeInference.jet +++ b/compiler/testData/diagnostics/tests/RecursiveTypeInference.jet @@ -37,4 +37,4 @@ package c fun foo() : Int = bazz() - fun bar() = foo() \ No newline at end of file + fun bar() = foo() diff --git a/compiler/testData/diagnostics/tests/Redeclarations.jet b/compiler/testData/diagnostics/tests/Redeclarations.jet index 8dc541d355f..34b0dcd2650 100644 --- a/compiler/testData/diagnostics/tests/Redeclarations.jet +++ b/compiler/testData/diagnostics/tests/Redeclarations.jet @@ -12,4 +12,4 @@ package redeclarations // FILE: f.kt package redeclarations.A - class A {} \ No newline at end of file + class A {} diff --git a/compiler/testData/diagnostics/tests/ResolveOfJavaGenerics.jet b/compiler/testData/diagnostics/tests/ResolveOfJavaGenerics.jet index 44264b416f4..89d945efbd9 100644 --- a/compiler/testData/diagnostics/tests/ResolveOfJavaGenerics.jet +++ b/compiler/testData/diagnostics/tests/ResolveOfJavaGenerics.jet @@ -20,4 +20,4 @@ fun test(a : java.util.ArrayList) { fun test(a : java.lang.Class) { -} \ No newline at end of file +} diff --git a/compiler/testData/diagnostics/tests/ResolveToJava.jet b/compiler/testData/diagnostics/tests/ResolveToJava.jet index 9c5a85b7f1e..ddbac36543a 100644 --- a/compiler/testData/diagnostics/tests/ResolveToJava.jet +++ b/compiler/testData/diagnostics/tests/ResolveToJava.jet @@ -52,4 +52,4 @@ fun test(l : java.util.List) { // FILE: f.kt package xxx - import java.lang.Class; \ No newline at end of file + import java.lang.Class; diff --git a/compiler/testData/diagnostics/tests/Return.jet b/compiler/testData/diagnostics/tests/Return.jet index a84f385991d..e540b5071c3 100644 --- a/compiler/testData/diagnostics/tests/Return.jet +++ b/compiler/testData/diagnostics/tests/Return.jet @@ -14,4 +14,4 @@ class A { return@inner return@outer } -} \ No newline at end of file +} diff --git a/compiler/testData/diagnostics/tests/SafeCallNonNullReceiver.jet b/compiler/testData/diagnostics/tests/SafeCallNonNullReceiver.jet index 8cb0f3c0e86..204d3b7facf 100644 --- a/compiler/testData/diagnostics/tests/SafeCallNonNullReceiver.jet +++ b/compiler/testData/diagnostics/tests/SafeCallNonNullReceiver.jet @@ -3,4 +3,4 @@ fun ff() { val i: Int = 1 val a: Int = i?.plus(2) -} \ No newline at end of file +} diff --git a/compiler/testData/diagnostics/tests/SafeCallNonNullReceiverReturnNull.jet b/compiler/testData/diagnostics/tests/SafeCallNonNullReceiverReturnNull.jet index f56ba89b746..d93af55258a 100644 --- a/compiler/testData/diagnostics/tests/SafeCallNonNullReceiverReturnNull.jet +++ b/compiler/testData/diagnostics/tests/SafeCallNonNullReceiverReturnNull.jet @@ -3,4 +3,4 @@ fun Int.gg() = null fun ff() { val a: Int = 1 val b: Int = a?.gg() -} \ No newline at end of file +} diff --git a/compiler/testData/diagnostics/tests/StringTemplates.jet b/compiler/testData/diagnostics/tests/StringTemplates.jet index 1c6e67053c9..7c0d90f20be 100644 --- a/compiler/testData/diagnostics/tests/StringTemplates.jet +++ b/compiler/testData/diagnostics/tests/StringTemplates.jet @@ -19,4 +19,4 @@ fun demo() { "foo${bar + map { "foo$sdf${ buzz{}}" }}sdfsdf" "a\u \u0 \u00 \u000 \u0000 \u0AaA \u0AAz.length( ) + \u0022b" -} \ No newline at end of file +} diff --git a/compiler/testData/diagnostics/tests/Super.jet b/compiler/testData/diagnostics/tests/Super.jet index fd52c4c0b58..8301197932d 100644 --- a/compiler/testData/diagnostics/tests/Super.jet +++ b/compiler/testData/diagnostics/tests/Super.jet @@ -86,4 +86,4 @@ class A1 { fun test() { super.equals(null) } -} \ No newline at end of file +} diff --git a/compiler/testData/diagnostics/tests/SupertypeListChecks.jet b/compiler/testData/diagnostics/tests/SupertypeListChecks.jet index 5cd876845ac..e3f8185de46 100644 --- a/compiler/testData/diagnostics/tests/SupertypeListChecks.jet +++ b/compiler/testData/diagnostics/tests/SupertypeListChecks.jet @@ -47,4 +47,4 @@ class CTest4 : T1 {} class CTest5 : T1, T1 {} -class CTest6 : C1 {} \ No newline at end of file +class CTest6 : C1 {} diff --git a/compiler/testData/diagnostics/tests/TraitSupertypeList.jet b/compiler/testData/diagnostics/tests/TraitSupertypeList.jet index 43d4f0a6919..cb73f1e1baa 100644 --- a/compiler/testData/diagnostics/tests/TraitSupertypeList.jet +++ b/compiler/testData/diagnostics/tests/TraitSupertypeList.jet @@ -8,4 +8,4 @@ trait Foo2 : bar, Foo { } open class Foo1() : bar(), bar, Foo, Foo() {} -open class Foo12 : bar(), bar {} \ No newline at end of file +open class Foo12 : bar(), bar {} diff --git a/compiler/testData/diagnostics/tests/TypeInference.jet b/compiler/testData/diagnostics/tests/TypeInference.jet index 54631bc97c8..67a616f082a 100644 --- a/compiler/testData/diagnostics/tests/TypeInference.jet +++ b/compiler/testData/diagnostics/tests/TypeInference.jet @@ -15,4 +15,4 @@ fun main(args : Array) { val bx : C = bar() val by : C = bar() val bz : C<*> = bar() -} \ No newline at end of file +} diff --git a/compiler/testData/diagnostics/tests/UninitializedOrReassignedVariables.jet b/compiler/testData/diagnostics/tests/UninitializedOrReassignedVariables.jet index f46d35ca6c3..115c131f135 100644 --- a/compiler/testData/diagnostics/tests/UninitializedOrReassignedVariables.jet +++ b/compiler/testData/diagnostics/tests/UninitializedOrReassignedVariables.jet @@ -349,4 +349,4 @@ fun test(m : M) { fun test1(m : M) { m.x++ m.y-- -} \ No newline at end of file +} diff --git a/compiler/testData/diagnostics/tests/UnitByDefaultForFunctionTypes.jet b/compiler/testData/diagnostics/tests/UnitByDefaultForFunctionTypes.jet index 9848e76942e..da3b32b3c25 100644 --- a/compiler/testData/diagnostics/tests/UnitByDefaultForFunctionTypes.jet +++ b/compiler/testData/diagnostics/tests/UnitByDefaultForFunctionTypes.jet @@ -1,3 +1,3 @@ fun foo(f : () -> Unit) { val x : Unit = f() -} \ No newline at end of file +} diff --git a/compiler/testData/diagnostics/tests/UnreachableCode.jet b/compiler/testData/diagnostics/tests/UnreachableCode.jet index df32131cd64..61daebad7c1 100644 --- a/compiler/testData/diagnostics/tests/UnreachableCode.jet +++ b/compiler/testData/diagnostics/tests/UnreachableCode.jet @@ -165,4 +165,4 @@ fun nullIsNotNothing() : Unit { fun returnInWhile(a: Int) { do {return} while (1 > a) -} \ No newline at end of file +} diff --git a/compiler/testData/diagnostics/tests/Unresolved.jet b/compiler/testData/diagnostics/tests/Unresolved.jet index 617fa8a3064..3366a449d88 100644 --- a/compiler/testData/diagnostics/tests/Unresolved.jet +++ b/compiler/testData/diagnostics/tests/Unresolved.jet @@ -27,4 +27,4 @@ fun testUnresolved() { } } -fun foo1(i: Int) {} \ No newline at end of file +fun foo1(i: Int) {} diff --git a/compiler/testData/diagnostics/tests/UnusedVariables.jet b/compiler/testData/diagnostics/tests/UnusedVariables.jet index 4ec287864b8..9e2ef9afe07 100644 --- a/compiler/testData/diagnostics/tests/UnusedVariables.jet +++ b/compiler/testData/diagnostics/tests/UnusedVariables.jet @@ -139,4 +139,4 @@ fun testBackingFieldsNotMarked() { } } -fun doSmth(i : Int) {} \ No newline at end of file +fun doSmth(i : Int) {} diff --git a/compiler/testData/diagnostics/tests/Varargs.jet b/compiler/testData/diagnostics/tests/Varargs.jet index 60fa97b7319..8a00695b93c 100644 --- a/compiler/testData/diagnostics/tests/Varargs.jet +++ b/compiler/testData/diagnostics/tests/Varargs.jet @@ -14,4 +14,4 @@ fun test() { v1({}, {}, {it}) v1({}) {} v1 {} -} \ No newline at end of file +} diff --git a/compiler/testData/diagnostics/tests/Variance.jet b/compiler/testData/diagnostics/tests/Variance.jet index da27ecfa5ba..65aa1dd137b 100644 --- a/compiler/testData/diagnostics/tests/Variance.jet +++ b/compiler/testData/diagnostics/tests/Variance.jet @@ -37,4 +37,4 @@ fun f(ints: Array, any: Array, numbers: Array) { copy2(ints, numbers) copy3(ints, numbers) copy4(ints, numbers) //ok -} \ No newline at end of file +} diff --git a/compiler/testData/diagnostics/tests/When.jet b/compiler/testData/diagnostics/tests/When.jet index e5a446c6077..f0003081614 100644 --- a/compiler/testData/diagnostics/tests/When.jet +++ b/compiler/testData/diagnostics/tests/When.jet @@ -63,4 +63,4 @@ fun test() { } } -val #(Int, Int).boo : #(Int, Int, Int) = #(1, 1, 1) \ No newline at end of file +val #(Int, Int).boo : #(Int, Int, Int) = #(1, 1, 1) diff --git a/compiler/testData/diagnostics/tests/annotations/BasicAnnotations.jet b/compiler/testData/diagnostics/tests/annotations/BasicAnnotations.jet index 98bd29f078e..3c87fee5d72 100644 --- a/compiler/testData/diagnostics/tests/annotations/BasicAnnotations.jet +++ b/compiler/testData/diagnostics/tests/annotations/BasicAnnotations.jet @@ -7,4 +7,4 @@ my fun foo() {} my1(2) fun foo3() {} my2() fun foo4() {} my2 fun foo41() {} -my2(2) fun foo42() {} \ No newline at end of file +my2(2) fun foo42() {} diff --git a/compiler/testData/diagnostics/tests/backingField/ReadNonexistentAbstractPropertyInAnonymous.jet b/compiler/testData/diagnostics/tests/backingField/ReadNonexistentAbstractPropertyInAnonymous.jet index 5c7863b359f..76e97f0b23d 100644 --- a/compiler/testData/diagnostics/tests/backingField/ReadNonexistentAbstractPropertyInAnonymous.jet +++ b/compiler/testData/diagnostics/tests/backingField/ReadNonexistentAbstractPropertyInAnonymous.jet @@ -4,4 +4,4 @@ abstract class ReadNonexistent() { { val x = $aa } -} \ No newline at end of file +} diff --git a/compiler/testData/diagnostics/tests/backingField/ReadNonexistentAbstractPropertyInFunction.jet b/compiler/testData/diagnostics/tests/backingField/ReadNonexistentAbstractPropertyInFunction.jet index dc3ddc9cc28..cd9ddf516f4 100644 --- a/compiler/testData/diagnostics/tests/backingField/ReadNonexistentAbstractPropertyInFunction.jet +++ b/compiler/testData/diagnostics/tests/backingField/ReadNonexistentAbstractPropertyInFunction.jet @@ -2,4 +2,4 @@ abstract class ReadNonexistent { abstract val aa: Int fun ff() = $aa -} \ No newline at end of file +} diff --git a/compiler/testData/diagnostics/tests/backingField/ReadNonexistentCustomGetInAnonymous.jet b/compiler/testData/diagnostics/tests/backingField/ReadNonexistentCustomGetInAnonymous.jet index d90f9631d6f..1ad622d501b 100644 --- a/compiler/testData/diagnostics/tests/backingField/ReadNonexistentCustomGetInAnonymous.jet +++ b/compiler/testData/diagnostics/tests/backingField/ReadNonexistentCustomGetInAnonymous.jet @@ -5,4 +5,4 @@ class ReadNonexistent() { { val x = $a } -} \ No newline at end of file +} diff --git a/compiler/testData/diagnostics/tests/backingField/ReadNonexistentCustomGetInAnotherInitializer.jet b/compiler/testData/diagnostics/tests/backingField/ReadNonexistentCustomGetInAnotherInitializer.jet index 5754f538a8e..fd9c8bab3f5 100644 --- a/compiler/testData/diagnostics/tests/backingField/ReadNonexistentCustomGetInAnotherInitializer.jet +++ b/compiler/testData/diagnostics/tests/backingField/ReadNonexistentCustomGetInAnotherInitializer.jet @@ -3,4 +3,4 @@ class CustomValNoBackingField() { get() = 1 val b = $a -} \ No newline at end of file +} diff --git a/compiler/testData/diagnostics/tests/backingField/ReadNonexistentDeclaredInHigher.jet b/compiler/testData/diagnostics/tests/backingField/ReadNonexistentDeclaredInHigher.jet index 5754f538a8e..fd9c8bab3f5 100644 --- a/compiler/testData/diagnostics/tests/backingField/ReadNonexistentDeclaredInHigher.jet +++ b/compiler/testData/diagnostics/tests/backingField/ReadNonexistentDeclaredInHigher.jet @@ -3,4 +3,4 @@ class CustomValNoBackingField() { get() = 1 val b = $a -} \ No newline at end of file +} diff --git a/compiler/testData/diagnostics/tests/backingField/WriteNonexistentDeclaredInHigher.jet b/compiler/testData/diagnostics/tests/backingField/WriteNonexistentDeclaredInHigher.jet index 26cb04ea093..2a971f7aec1 100644 --- a/compiler/testData/diagnostics/tests/backingField/WriteNonexistentDeclaredInHigher.jet +++ b/compiler/testData/diagnostics/tests/backingField/WriteNonexistentDeclaredInHigher.jet @@ -4,4 +4,4 @@ class A() { { $y = 1 } -} \ No newline at end of file +} diff --git a/compiler/testData/diagnostics/tests/backingField/kt462BackingFieldsResolve.jet b/compiler/testData/diagnostics/tests/backingField/kt462BackingFieldsResolve.jet index 3520c94aa5e..9e466c32fe6 100644 --- a/compiler/testData/diagnostics/tests/backingField/kt462BackingFieldsResolve.jet +++ b/compiler/testData/diagnostics/tests/backingField/kt462BackingFieldsResolve.jet @@ -169,4 +169,4 @@ class T() { } } } -} \ No newline at end of file +} diff --git a/compiler/testData/diagnostics/tests/backingField/kt782namespaceLevel.jet b/compiler/testData/diagnostics/tests/backingField/kt782namespaceLevel.jet index 0d12bc57aa8..793897b9527 100644 --- a/compiler/testData/diagnostics/tests/backingField/kt782namespaceLevel.jet +++ b/compiler/testData/diagnostics/tests/backingField/kt782namespaceLevel.jet @@ -17,4 +17,4 @@ get() = $z fun foo() { $y = 34 -} \ No newline at end of file +} diff --git a/compiler/testData/diagnostics/tests/controlFlowAnalysis/kt1001.jet b/compiler/testData/diagnostics/tests/controlFlowAnalysis/kt1001.jet index 0bd9ae456d1..a10d8ad0dce 100644 --- a/compiler/testData/diagnostics/tests/controlFlowAnalysis/kt1001.jet +++ b/compiler/testData/diagnostics/tests/controlFlowAnalysis/kt1001.jet @@ -32,4 +32,4 @@ fun t2() : Int { return 2 } -fun doSmth() {} \ No newline at end of file +fun doSmth() {} diff --git a/compiler/testData/diagnostics/tests/controlFlowAnalysis/kt1027.jet b/compiler/testData/diagnostics/tests/controlFlowAnalysis/kt1027.jet index 214f475f9e8..1c61a4769c7 100644 --- a/compiler/testData/diagnostics/tests/controlFlowAnalysis/kt1027.jet +++ b/compiler/testData/diagnostics/tests/controlFlowAnalysis/kt1027.jet @@ -48,4 +48,4 @@ fun t4() { (43) } -fun doSmth() {} \ No newline at end of file +fun doSmth() {} diff --git a/compiler/testData/diagnostics/tests/controlFlowAnalysis/kt1066.jet b/compiler/testData/diagnostics/tests/controlFlowAnalysis/kt1066.jet index 7f7dfcafd8a..239e724bf4b 100644 --- a/compiler/testData/diagnostics/tests/controlFlowAnalysis/kt1066.jet +++ b/compiler/testData/diagnostics/tests/controlFlowAnalysis/kt1066.jet @@ -34,4 +34,4 @@ fun test() { second = first + second first = temp } -} \ No newline at end of file +} diff --git a/compiler/testData/diagnostics/tests/controlFlowAnalysis/kt1189.jet b/compiler/testData/diagnostics/tests/controlFlowAnalysis/kt1189.jet index c3fef37b9cc..9f4becfec71 100644 --- a/compiler/testData/diagnostics/tests/controlFlowAnalysis/kt1189.jet +++ b/compiler/testData/diagnostics/tests/controlFlowAnalysis/kt1189.jet @@ -36,4 +36,4 @@ fun foo() { finally { for (i in 1..10) {} } -} \ No newline at end of file +} diff --git a/compiler/testData/diagnostics/tests/controlFlowAnalysis/kt510.jet b/compiler/testData/diagnostics/tests/controlFlowAnalysis/kt510.jet index 15407891604..1653a1cf1d4 100644 --- a/compiler/testData/diagnostics/tests/controlFlowAnalysis/kt510.jet +++ b/compiler/testData/diagnostics/tests/controlFlowAnalysis/kt510.jet @@ -15,4 +15,4 @@ public open class Identifier2() { { this.field = false; } -} \ No newline at end of file +} diff --git a/compiler/testData/diagnostics/tests/controlFlowAnalysis/kt607.jet b/compiler/testData/diagnostics/tests/controlFlowAnalysis/kt607.jet index 06ff50dd689..fd36e75eb7d 100644 --- a/compiler/testData/diagnostics/tests/controlFlowAnalysis/kt607.jet +++ b/compiler/testData/diagnostics/tests/controlFlowAnalysis/kt607.jet @@ -15,4 +15,4 @@ fun foo(a: A) { class A() { val z : Int get() = 3 -} \ No newline at end of file +} diff --git a/compiler/testData/diagnostics/tests/controlFlowAnalysis/kt609.jet b/compiler/testData/diagnostics/tests/controlFlowAnalysis/kt609.jet index 8ea0f2ef92b..c7771924632 100644 --- a/compiler/testData/diagnostics/tests/controlFlowAnalysis/kt609.jet +++ b/compiler/testData/diagnostics/tests/controlFlowAnalysis/kt609.jet @@ -16,4 +16,4 @@ open class A() { class B() : A() { final override fun foo(s : String) {} //should not be a warning -} \ No newline at end of file +} diff --git a/compiler/testData/diagnostics/tests/controlFlowAnalysis/kt610.jet b/compiler/testData/diagnostics/tests/controlFlowAnalysis/kt610.jet index 93838a62884..d585d77937a 100644 --- a/compiler/testData/diagnostics/tests/controlFlowAnalysis/kt610.jet +++ b/compiler/testData/diagnostics/tests/controlFlowAnalysis/kt610.jet @@ -7,4 +7,4 @@ fun foo() { var i = 1 //should be an error 'variable i is assigned but never accessed' i = 2 -} \ No newline at end of file +} diff --git a/compiler/testData/diagnostics/tests/controlFlowAnalysis/kt776.jet b/compiler/testData/diagnostics/tests/controlFlowAnalysis/kt776.jet index fcf5cdeb4b3..4095484537b 100644 --- a/compiler/testData/diagnostics/tests/controlFlowAnalysis/kt776.jet +++ b/compiler/testData/diagnostics/tests/controlFlowAnalysis/kt776.jet @@ -35,4 +35,4 @@ fun test1() : Int { } } -fun doSmth() {} \ No newline at end of file +fun doSmth() {} diff --git a/compiler/testData/diagnostics/tests/controlFlowAnalysis/kt843.jet b/compiler/testData/diagnostics/tests/controlFlowAnalysis/kt843.jet index eeefb8d96f2..8e07ef2a23b 100644 --- a/compiler/testData/diagnostics/tests/controlFlowAnalysis/kt843.jet +++ b/compiler/testData/diagnostics/tests/controlFlowAnalysis/kt843.jet @@ -5,4 +5,4 @@ package kt843 fun main(args : Array) { // Integer type val // this word is grey, which looks strange -} \ No newline at end of file +} diff --git a/compiler/testData/diagnostics/tests/controlFlowAnalysis/kt897.jet b/compiler/testData/diagnostics/tests/controlFlowAnalysis/kt897.jet index 3e3271750f1..5c78f167f85 100644 --- a/compiler/testData/diagnostics/tests/controlFlowAnalysis/kt897.jet +++ b/compiler/testData/diagnostics/tests/controlFlowAnalysis/kt897.jet @@ -17,4 +17,4 @@ class A() { k = 3 } val k : Int -} \ No newline at end of file +} diff --git a/compiler/testData/diagnostics/tests/controlStructures/kt770.kt351.kt735_StatementType.jet b/compiler/testData/diagnostics/tests/controlStructures/kt770.kt351.kt735_StatementType.jet index e2590a060af..93588d74385 100644 --- a/compiler/testData/diagnostics/tests/controlStructures/kt770.kt351.kt735_StatementType.jet +++ b/compiler/testData/diagnostics/tests/controlStructures/kt770.kt351.kt735_StatementType.jet @@ -123,4 +123,4 @@ fun testStatementInExpressionContext() { val f = for (i in 1..10) {} if (true) return z = 34 return while (true) {} -} \ No newline at end of file +} diff --git a/compiler/testData/diagnostics/tests/controlStructures/kt786.jet b/compiler/testData/diagnostics/tests/controlStructures/kt786.jet index 5c303d00f4c..68cc6879269 100644 --- a/compiler/testData/diagnostics/tests/controlStructures/kt786.jet +++ b/compiler/testData/diagnostics/tests/controlStructures/kt786.jet @@ -23,4 +23,4 @@ fun fff(): Int { return 34 } -fun bar(): Int = 8 \ No newline at end of file +fun bar(): Int = 8 diff --git a/compiler/testData/diagnostics/tests/controlStructures/when.kt234.kt973.jet b/compiler/testData/diagnostics/tests/controlStructures/when.kt234.kt973.jet index f74625cc30a..d0d2650b707 100644 --- a/compiler/testData/diagnostics/tests/controlStructures/when.kt234.kt973.jet +++ b/compiler/testData/diagnostics/tests/controlStructures/when.kt234.kt973.jet @@ -51,4 +51,4 @@ fun foo3(x: Int) = when(x) { fun foo4(x: Int) = when(x) { 2 -> x is val a -> a -} \ No newline at end of file +} diff --git a/compiler/testData/diagnostics/tests/declarationChecks/kt1141.jet b/compiler/testData/diagnostics/tests/declarationChecks/kt1141.jet index 21fff65631c..11c827ef897 100644 --- a/compiler/testData/diagnostics/tests/declarationChecks/kt1141.jet +++ b/compiler/testData/diagnostics/tests/declarationChecks/kt1141.jet @@ -19,4 +19,4 @@ class C : SomeTrait {} fun foo2() { val r = object : Runnable {} //no error -} \ No newline at end of file +} diff --git a/compiler/testData/diagnostics/tests/declarationChecks/kt559.jet b/compiler/testData/diagnostics/tests/declarationChecks/kt559.jet index 1512c64bd0d..95c0c20dfb2 100644 --- a/compiler/testData/diagnostics/tests/declarationChecks/kt559.jet +++ b/compiler/testData/diagnostics/tests/declarationChecks/kt559.jet @@ -27,4 +27,4 @@ class B() : A() { super.fff() //everything is ok return super.foo() //no error!! } -} \ No newline at end of file +} diff --git a/compiler/testData/diagnostics/tests/extensions/ExtensionFunctions.jet b/compiler/testData/diagnostics/tests/extensions/ExtensionFunctions.jet index d68d7c8cb7d..e316a81cb5d 100644 --- a/compiler/testData/diagnostics/tests/extensions/ExtensionFunctions.jet +++ b/compiler/testData/diagnostics/tests/extensions/ExtensionFunctions.jet @@ -73,4 +73,4 @@ import outer.* c?.equals2(null) if (command == null) 1 - } \ No newline at end of file + } diff --git a/compiler/testData/diagnostics/tests/extensions/ExtensionsCalledOnSuper.jet b/compiler/testData/diagnostics/tests/extensions/ExtensionsCalledOnSuper.jet index 775ec9bef9e..af2045aa2b2 100644 --- a/compiler/testData/diagnostics/tests/extensions/ExtensionsCalledOnSuper.jet +++ b/compiler/testData/diagnostics/tests/extensions/ExtensionsCalledOnSuper.jet @@ -18,4 +18,4 @@ class C : T { super.buzz() // OK, resolved to a member super.buzz1() // Resolved to a member, but error: no parameter passed where required } -} \ No newline at end of file +} diff --git a/compiler/testData/diagnostics/tests/extensions/GenericIterator.jet b/compiler/testData/diagnostics/tests/extensions/GenericIterator.jet index 616bc1a48f5..965f92aa27f 100644 --- a/compiler/testData/diagnostics/tests/extensions/GenericIterator.jet +++ b/compiler/testData/diagnostics/tests/extensions/GenericIterator.jet @@ -32,4 +32,4 @@ fun main(args : Array) { for (x in i) { System.out?.println(x) } -} \ No newline at end of file +} diff --git a/compiler/testData/diagnostics/tests/extensions/kt819ExtensionProperties.jet b/compiler/testData/diagnostics/tests/extensions/kt819ExtensionProperties.jet index d49ea48bd60..7df2286d58a 100644 --- a/compiler/testData/diagnostics/tests/extensions/kt819ExtensionProperties.jet +++ b/compiler/testData/diagnostics/tests/extensions/kt819ExtensionProperties.jet @@ -31,4 +31,4 @@ class B() : A() { s.foo s.foo() } -} \ No newline at end of file +} diff --git a/compiler/testData/diagnostics/tests/inference/kt1293.jet b/compiler/testData/diagnostics/tests/inference/kt1293.jet index 119d3d89133..bcd6708d726 100644 --- a/compiler/testData/diagnostics/tests/inference/kt1293.jet +++ b/compiler/testData/diagnostics/tests/inference/kt1293.jet @@ -8,4 +8,4 @@ fun main(args : Array) { requiresInt(intArray[0]) } -fun requiresInt(i: Int) {} \ No newline at end of file +fun requiresInt(i: Int) {} diff --git a/compiler/testData/diagnostics/tests/infos/Autocasts.jet b/compiler/testData/diagnostics/tests/infos/Autocasts.jet index b1ccca9bc15..83accb4f1e1 100644 --- a/compiler/testData/diagnostics/tests/infos/Autocasts.jet +++ b/compiler/testData/diagnostics/tests/infos/Autocasts.jet @@ -250,4 +250,4 @@ fun foo(var a: Any): Int { return a } return 1 -} \ No newline at end of file +} diff --git a/compiler/testData/diagnostics/tests/infos/PropertiesWithBackingFields.jet b/compiler/testData/diagnostics/tests/infos/PropertiesWithBackingFields.jet index 9371df4b877..5673109ef75 100644 --- a/compiler/testData/diagnostics/tests/infos/PropertiesWithBackingFields.jet +++ b/compiler/testData/diagnostics/tests/infos/PropertiesWithBackingFields.jet @@ -56,4 +56,4 @@ class TestPCParameters(w : Int, x : Int, val y : Int, var z : Int) : Super(w) { fun foo() = x -} \ No newline at end of file +} diff --git a/compiler/testData/diagnostics/tests/nullabilityAndAutoCasts/InfixCallNullability.jet b/compiler/testData/diagnostics/tests/nullabilityAndAutoCasts/InfixCallNullability.jet index e1eb592bc2e..9aaf713e92e 100644 --- a/compiler/testData/diagnostics/tests/nullabilityAndAutoCasts/InfixCallNullability.jet +++ b/compiler/testData/diagnostics/tests/nullabilityAndAutoCasts/InfixCallNullability.jet @@ -38,4 +38,4 @@ fun test(x : Int?, a : A?) { a contains 1 a.contains(1) a?.contains(1) -} \ No newline at end of file +} diff --git a/compiler/testData/diagnostics/tests/nullabilityAndAutoCasts/kt244.jet b/compiler/testData/diagnostics/tests/nullabilityAndAutoCasts/kt244.jet index 3e19f906169..8077821564f 100644 --- a/compiler/testData/diagnostics/tests/nullabilityAndAutoCasts/kt244.jet +++ b/compiler/testData/diagnostics/tests/nullabilityAndAutoCasts/kt244.jet @@ -31,4 +31,4 @@ class A(a: String?) { i = 3 } } -} \ No newline at end of file +} diff --git a/compiler/testData/diagnostics/tests/objects/ObjectsInheritance.jet b/compiler/testData/diagnostics/tests/objects/ObjectsInheritance.jet index 81a08e301f3..2cb27666450 100644 --- a/compiler/testData/diagnostics/tests/objects/ObjectsInheritance.jet +++ b/compiler/testData/diagnostics/tests/objects/ObjectsInheritance.jet @@ -4,4 +4,4 @@ package toplevelObjectDeclarations object CObj {} -object DOjb : CObj {} \ No newline at end of file +object DOjb : CObj {} diff --git a/compiler/testData/diagnostics/tests/operatorsOverloading/kt1028.jet b/compiler/testData/diagnostics/tests/operatorsOverloading/kt1028.jet index f1d9b702e47..17ebf44cd05 100644 --- a/compiler/testData/diagnostics/tests/operatorsOverloading/kt1028.jet +++ b/compiler/testData/diagnostics/tests/operatorsOverloading/kt1028.jet @@ -33,4 +33,4 @@ class Test() control.MouseMoved += { it.X } // here control.MouseMoved.plusAssign( { it.X } ) // ok } -} \ No newline at end of file +} diff --git a/compiler/testData/diagnostics/tests/regressions/AmbiguityOnLazyTypeComputation.jet b/compiler/testData/diagnostics/tests/regressions/AmbiguityOnLazyTypeComputation.jet index 0f387418f9d..f17f0596ef7 100644 --- a/compiler/testData/diagnostics/tests/regressions/AmbiguityOnLazyTypeComputation.jet +++ b/compiler/testData/diagnostics/tests/regressions/AmbiguityOnLazyTypeComputation.jet @@ -9,4 +9,4 @@ val a1 = b.compareTo(2) class Foo() { fun compareTo(other : Byte) : Int = 0 fun compareTo(other : Char) : Int = 0 -} \ No newline at end of file +} diff --git a/compiler/testData/diagnostics/tests/regressions/AssignmentsUnderOperators.jet b/compiler/testData/diagnostics/tests/regressions/AssignmentsUnderOperators.jet index 43f56b9465e..75cdff2cbb8 100644 --- a/compiler/testData/diagnostics/tests/regressions/AssignmentsUnderOperators.jet +++ b/compiler/testData/diagnostics/tests/regressions/AssignmentsUnderOperators.jet @@ -3,4 +3,4 @@ fun test() { if (a is Any) else a = null; while (a is Any) a = null while (true) a = null -} \ No newline at end of file +} diff --git a/compiler/testData/diagnostics/tests/regressions/CoercionToUnit.jet b/compiler/testData/diagnostics/tests/regressions/CoercionToUnit.jet index 3fbbafe7fa4..8cf346de150 100644 --- a/compiler/testData/diagnostics/tests/regressions/CoercionToUnit.jet +++ b/compiler/testData/diagnostics/tests/regressions/CoercionToUnit.jet @@ -6,4 +6,4 @@ fun test() : Int { foo(1) } return 1 -} \ No newline at end of file +} diff --git a/compiler/testData/diagnostics/tests/regressions/ErrorsOnIbjectExpressionsAsParameters.jet b/compiler/testData/diagnostics/tests/regressions/ErrorsOnIbjectExpressionsAsParameters.jet index e5c2de37d80..73c5eaa6438 100644 --- a/compiler/testData/diagnostics/tests/regressions/ErrorsOnIbjectExpressionsAsParameters.jet +++ b/compiler/testData/diagnostics/tests/regressions/ErrorsOnIbjectExpressionsAsParameters.jet @@ -2,4 +2,4 @@ fun foo(a : Any) {} fun test() { foo(object {}); -} \ No newline at end of file +} diff --git a/compiler/testData/diagnostics/tests/regressions/Jet121.jet b/compiler/testData/diagnostics/tests/regressions/Jet121.jet index ecab09cf75c..6a8ab166aee 100644 --- a/compiler/testData/diagnostics/tests/regressions/Jet121.jet +++ b/compiler/testData/diagnostics/tests/regressions/Jet121.jet @@ -11,4 +11,4 @@ return if (answer == 2) "OK" else "FAIL" fun apply(arg:String, f : String.() -> Int) : Int { return arg.f() -} \ No newline at end of file +} diff --git a/compiler/testData/diagnostics/tests/regressions/Jet124.jet b/compiler/testData/diagnostics/tests/regressions/Jet124.jet index 5e8088b3e08..a59f22eb382 100644 --- a/compiler/testData/diagnostics/tests/regressions/Jet124.jet +++ b/compiler/testData/diagnostics/tests/regressions/Jet124.jet @@ -5,4 +5,4 @@ fun foo() { h(1) val m : (Int) -> Int = {(a : Int) -> 1}//foo1() m(1) -} \ No newline at end of file +} diff --git a/compiler/testData/diagnostics/tests/regressions/Jet169.jet b/compiler/testData/diagnostics/tests/regressions/Jet169.jet index 8c28c04b4c3..9b806fd22c1 100644 --- a/compiler/testData/diagnostics/tests/regressions/Jet169.jet +++ b/compiler/testData/diagnostics/tests/regressions/Jet169.jet @@ -5,4 +5,4 @@ fun set(key : String, value : Stri is String, is Any -> a.compareTo("") else -> a.toString() } -} \ No newline at end of file +} diff --git a/compiler/testData/diagnostics/tests/regressions/Jet17.jet b/compiler/testData/diagnostics/tests/regressions/Jet17.jet index 32cf98cd2fc..0b2eedc527d 100644 --- a/compiler/testData/diagnostics/tests/regressions/Jet17.jet +++ b/compiler/testData/diagnostics/tests/regressions/Jet17.jet @@ -3,4 +3,4 @@ class WithC() { val a = 1 val b = $a // error here, but must not be -} \ No newline at end of file +} diff --git a/compiler/testData/diagnostics/tests/regressions/Jet183-1.jet b/compiler/testData/diagnostics/tests/regressions/Jet183-1.jet index 0199cd9fcb3..d093fdb4610 100644 --- a/compiler/testData/diagnostics/tests/regressions/Jet183-1.jet +++ b/compiler/testData/diagnostics/tests/regressions/Jet183-1.jet @@ -18,4 +18,4 @@ fun box(): String { x = x.signal() if (x != ProtocolState.WAITING) return "fail 2" return "OK" -} \ No newline at end of file +} diff --git a/compiler/testData/diagnostics/tests/regressions/Jet183.jet b/compiler/testData/diagnostics/tests/regressions/Jet183.jet index a6992d2c8e3..081c7d6e59f 100644 --- a/compiler/testData/diagnostics/tests/regressions/Jet183.jet +++ b/compiler/testData/diagnostics/tests/regressions/Jet183.jet @@ -19,4 +19,4 @@ enum class Foo { fun box() { val x: ProtocolState = ProtocolState.WAITING -} \ No newline at end of file +} diff --git a/compiler/testData/diagnostics/tests/regressions/Jet68.jet b/compiler/testData/diagnostics/tests/regressions/Jet68.jet index 2d9cc4c7b21..40348b96052 100644 --- a/compiler/testData/diagnostics/tests/regressions/Jet68.jet +++ b/compiler/testData/diagnostics/tests/regressions/Jet68.jet @@ -8,4 +8,4 @@ fun test() { if (f != null) { } -} \ No newline at end of file +} diff --git a/compiler/testData/diagnostics/tests/regressions/Jet69.jet b/compiler/testData/diagnostics/tests/regressions/Jet69.jet index 9e8c5fa83dd..7d5dc169de8 100644 --- a/compiler/testData/diagnostics/tests/regressions/Jet69.jet +++ b/compiler/testData/diagnostics/tests/regressions/Jet69.jet @@ -7,4 +7,4 @@ fun Any.equals(other : Any?) : Boolean = this === other fun main(args: Array) { val command = parse("") if (command == null) 1 // error on this line, but must be OK -} \ No newline at end of file +} diff --git a/compiler/testData/diagnostics/tests/regressions/Jet81.jet b/compiler/testData/diagnostics/tests/regressions/Jet81.jet index 82b6986ed49..e356fbeff5c 100644 --- a/compiler/testData/diagnostics/tests/regressions/Jet81.jet +++ b/compiler/testData/diagnostics/tests/regressions/Jet81.jet @@ -19,4 +19,4 @@ val a = object { } val b = a.x -val c = a.y \ No newline at end of file +val c = a.y diff --git a/compiler/testData/diagnostics/tests/regressions/OutProjections.jet b/compiler/testData/diagnostics/tests/regressions/OutProjections.jet index 224e6decd93..6cfda3ca0a2 100644 --- a/compiler/testData/diagnostics/tests/regressions/OutProjections.jet +++ b/compiler/testData/diagnostics/tests/regressions/OutProjections.jet @@ -18,4 +18,4 @@ fun fout(expression : T) : Out = Out fun fooout() : Out { val p = Point(); return fout(p); -} \ No newline at end of file +} diff --git a/compiler/testData/diagnostics/tests/regressions/ScopeForSecondaryConstructors.jet b/compiler/testData/diagnostics/tests/regressions/ScopeForSecondaryConstructors.jet index ae4bc37dabe..352d736cd78 100644 --- a/compiler/testData/diagnostics/tests/regressions/ScopeForSecondaryConstructors.jet +++ b/compiler/testData/diagnostics/tests/regressions/ScopeForSecondaryConstructors.jet @@ -14,4 +14,4 @@ class Foo(var bar : Int, var barr : Int, var barrr : Int) { val a : Int =1 this : Foo } - } \ No newline at end of file + } diff --git a/compiler/testData/diagnostics/tests/regressions/SpecififcityByReceiver.jet b/compiler/testData/diagnostics/tests/regressions/SpecififcityByReceiver.jet index e0ea1063e56..0885069eb25 100644 --- a/compiler/testData/diagnostics/tests/regressions/SpecififcityByReceiver.jet +++ b/compiler/testData/diagnostics/tests/regressions/SpecififcityByReceiver.jet @@ -6,4 +6,4 @@ fun main(args: Array) { command?.equals(null) command.equals(null) -} \ No newline at end of file +} diff --git a/compiler/testData/diagnostics/tests/regressions/ThisConstructorInGenericClass.jet b/compiler/testData/diagnostics/tests/regressions/ThisConstructorInGenericClass.jet index cb4408bd600..13ac5a7d8de 100644 --- a/compiler/testData/diagnostics/tests/regressions/ThisConstructorInGenericClass.jet +++ b/compiler/testData/diagnostics/tests/regressions/ThisConstructorInGenericClass.jet @@ -1,3 +1,3 @@ class Z() { this(x : Int) : this() {} -} \ No newline at end of file +} diff --git a/compiler/testData/diagnostics/tests/regressions/WrongTraceInCallResolver.jet b/compiler/testData/diagnostics/tests/regressions/WrongTraceInCallResolver.jet index c81f9324b71..e8663c426a7 100644 --- a/compiler/testData/diagnostics/tests/regressions/WrongTraceInCallResolver.jet +++ b/compiler/testData/diagnostics/tests/regressions/WrongTraceInCallResolver.jet @@ -6,4 +6,4 @@ fun foo(x : Long) {} fun f(): Unit { foo<Int, Int>(1) -} \ No newline at end of file +} diff --git a/compiler/testData/diagnostics/tests/regressions/kt127.jet b/compiler/testData/diagnostics/tests/regressions/kt127.jet index edb6f1b6d7f..6db510b9cf8 100644 --- a/compiler/testData/diagnostics/tests/regressions/kt127.jet +++ b/compiler/testData/diagnostics/tests/regressions/kt127.jet @@ -15,4 +15,4 @@ fun main(args: Array) { // ?.equals(null) => 1 // same here // } command.equals(null) -} \ No newline at end of file +} diff --git a/compiler/testData/diagnostics/tests/regressions/kt128.jet b/compiler/testData/diagnostics/tests/regressions/kt128.jet index f136de1a55a..fb15cee8f9f 100644 --- a/compiler/testData/diagnostics/tests/regressions/kt128.jet +++ b/compiler/testData/diagnostics/tests/regressions/kt128.jet @@ -9,4 +9,4 @@ fun f() { div (c = "foo") { // More things could have been passed // ... } -} \ No newline at end of file +} diff --git a/compiler/testData/diagnostics/tests/regressions/kt201.jet b/compiler/testData/diagnostics/tests/regressions/kt201.jet index 4791e550b3e..7097b29a8c5 100644 --- a/compiler/testData/diagnostics/tests/regressions/kt201.jet +++ b/compiler/testData/diagnostics/tests/regressions/kt201.jet @@ -6,4 +6,4 @@ fun T?.npe() : T = if (this == null) throw NullPointerException() else fun foo() { val i : Int? = 1 i.npe() // error! -} \ No newline at end of file +} diff --git a/compiler/testData/diagnostics/tests/regressions/kt235.jet b/compiler/testData/diagnostics/tests/regressions/kt235.jet index 33bdd59a7e4..1e13315aa47 100644 --- a/compiler/testData/diagnostics/tests/regressions/kt235.jet +++ b/compiler/testData/diagnostics/tests/regressions/kt235.jet @@ -47,4 +47,4 @@ class MyArray1() { class MyNumber() { fun inc(): MyNumber = MyNumber() -} \ No newline at end of file +} diff --git a/compiler/testData/diagnostics/tests/regressions/kt251.jet b/compiler/testData/diagnostics/tests/regressions/kt251.jet index bfbc0784224..b5c930fc138 100644 --- a/compiler/testData/diagnostics/tests/regressions/kt251.jet +++ b/compiler/testData/diagnostics/tests/regressions/kt251.jet @@ -30,4 +30,4 @@ class A() { return $e } -} \ No newline at end of file +} diff --git a/compiler/testData/diagnostics/tests/regressions/kt258.jet b/compiler/testData/diagnostics/tests/regressions/kt258.jet index eb77de9e665..6756ab2b5f7 100644 --- a/compiler/testData/diagnostics/tests/regressions/kt258.jet +++ b/compiler/testData/diagnostics/tests/regressions/kt258.jet @@ -8,4 +8,4 @@ fun test() { attributes["href"] = "1" // inference fails, but it shouldn't } -fun java.util.Map.set(key : K, value : V) {}//= this.put(key, value) \ No newline at end of file +fun java.util.Map.set(key : K, value : V) {}//= this.put(key, value) diff --git a/compiler/testData/diagnostics/tests/regressions/kt26-1.jet b/compiler/testData/diagnostics/tests/regressions/kt26-1.jet index d5d115f4d0f..3403459f44f 100644 --- a/compiler/testData/diagnostics/tests/regressions/kt26-1.jet +++ b/compiler/testData/diagnostics/tests/regressions/kt26-1.jet @@ -6,4 +6,4 @@ package foo import bar.* // Must not be an error // FILE: other.kt -package bar \ No newline at end of file +package bar diff --git a/compiler/testData/diagnostics/tests/regressions/kt26.jet b/compiler/testData/diagnostics/tests/regressions/kt26.jet index 848d726c0a4..d7ab1776b1a 100644 --- a/compiler/testData/diagnostics/tests/regressions/kt26.jet +++ b/compiler/testData/diagnostics/tests/regressions/kt26.jet @@ -9,4 +9,4 @@ package html abstract class Factory { fun create() : T? = null -} \ No newline at end of file +} diff --git a/compiler/testData/diagnostics/tests/regressions/kt282.jet b/compiler/testData/diagnostics/tests/regressions/kt282.jet index b9c3a16196d..3b56e15f32a 100644 --- a/compiler/testData/diagnostics/tests/regressions/kt282.jet +++ b/compiler/testData/diagnostics/tests/regressions/kt282.jet @@ -15,4 +15,4 @@ fun f(): Unit { set + 1 1 in set 1 in 2 -} \ No newline at end of file +} diff --git a/compiler/testData/diagnostics/tests/regressions/kt287.jet b/compiler/testData/diagnostics/tests/regressions/kt287.jet index 15cf0100499..ddb722610ad 100644 --- a/compiler/testData/diagnostics/tests/regressions/kt287.jet +++ b/compiler/testData/diagnostics/tests/regressions/kt287.jet @@ -10,4 +10,4 @@ fun foo(m : Map) {} fun test() { foo(HashMap()) -} \ No newline at end of file +} diff --git a/compiler/testData/diagnostics/tests/regressions/kt302.jet b/compiler/testData/diagnostics/tests/regressions/kt302.jet index 25fe84153e2..10128974ee2 100644 --- a/compiler/testData/diagnostics/tests/regressions/kt302.jet +++ b/compiler/testData/diagnostics/tests/regressions/kt302.jet @@ -10,4 +10,4 @@ trait B { open fun foo() {} } -class C : A, B {} //should be error here \ No newline at end of file +class C : A, B {} //should be error here diff --git a/compiler/testData/diagnostics/tests/regressions/kt303.jet b/compiler/testData/diagnostics/tests/regressions/kt303.jet index ed38edc0bf0..15b21898cf2 100644 --- a/compiler/testData/diagnostics/tests/regressions/kt303.jet +++ b/compiler/testData/diagnostics/tests/regressions/kt303.jet @@ -8,4 +8,4 @@ open class Bar() : Foo() { } -val x : Int = Foo() \ No newline at end of file +val x : Int = Foo() diff --git a/compiler/testData/diagnostics/tests/regressions/kt306.jet b/compiler/testData/diagnostics/tests/regressions/kt306.jet index b1d59eceac1..a13d02b9310 100644 --- a/compiler/testData/diagnostics/tests/regressions/kt306.jet +++ b/compiler/testData/diagnostics/tests/regressions/kt306.jet @@ -19,4 +19,4 @@ class Foo { class Barr { fun bar() {} -} \ No newline at end of file +} diff --git a/compiler/testData/diagnostics/tests/regressions/kt316.jet b/compiler/testData/diagnostics/tests/regressions/kt316.jet index a794d90d035..db9253f127b 100644 --- a/compiler/testData/diagnostics/tests/regressions/kt316.jet +++ b/compiler/testData/diagnostics/tests/regressions/kt316.jet @@ -7,4 +7,4 @@ trait B { open class A() : B{ override fun foo() {} -} \ No newline at end of file +} diff --git a/compiler/testData/diagnostics/tests/regressions/kt335.336.jet b/compiler/testData/diagnostics/tests/regressions/kt335.336.jet index a9007627a23..e95c5cfdefb 100644 --- a/compiler/testData/diagnostics/tests/regressions/kt335.336.jet +++ b/compiler/testData/diagnostics/tests/regressions/kt335.336.jet @@ -12,4 +12,4 @@ fun > List.sort() { fun List.plus(other : List) : List { val result = ArrayList(this) return result -} \ No newline at end of file +} diff --git a/compiler/testData/diagnostics/tests/regressions/kt352.jet b/compiler/testData/diagnostics/tests/regressions/kt352.jet index 52eb5122d37..71a37104fef 100644 --- a/compiler/testData/diagnostics/tests/regressions/kt352.jet +++ b/compiler/testData/diagnostics/tests/regressions/kt352.jet @@ -24,4 +24,4 @@ val testIt : (Any) -> Unit = { if (it is String) { doSmth(it) } -} \ No newline at end of file +} diff --git a/compiler/testData/diagnostics/tests/regressions/kt353.jet b/compiler/testData/diagnostics/tests/regressions/kt353.jet index 5194b492db7..ccfd5fa5515 100644 --- a/compiler/testData/diagnostics/tests/regressions/kt353.jet +++ b/compiler/testData/diagnostics/tests/regressions/kt353.jet @@ -29,4 +29,4 @@ fun foo(a: A) { } a.gen() // Shouldn't work: no info for inference -} \ No newline at end of file +} diff --git a/compiler/testData/diagnostics/tests/regressions/kt394.jet b/compiler/testData/diagnostics/tests/regressions/kt394.jet index 8e58588f4b0..a03f8c9165c 100644 --- a/compiler/testData/diagnostics/tests/regressions/kt394.jet +++ b/compiler/testData/diagnostics/tests/regressions/kt394.jet @@ -8,4 +8,4 @@ class X() { } val y : Y = Y() -} \ No newline at end of file +} diff --git a/compiler/testData/diagnostics/tests/regressions/kt398.jet b/compiler/testData/diagnostics/tests/regressions/kt398.jet index 7607d58dece..af43ee1df3b 100644 --- a/compiler/testData/diagnostics/tests/regressions/kt398.jet +++ b/compiler/testData/diagnostics/tests/regressions/kt398.jet @@ -8,4 +8,4 @@ fun box() : String { if(X().check(10)) return "fail" if(!X().check("lala")) return "fail" return "OK" -} \ No newline at end of file +} diff --git a/compiler/testData/diagnostics/tests/regressions/kt399.jet b/compiler/testData/diagnostics/tests/regressions/kt399.jet index ce92c6e50b4..f4d3352ba63 100644 --- a/compiler/testData/diagnostics/tests/regressions/kt399.jet +++ b/compiler/testData/diagnostics/tests/regressions/kt399.jet @@ -8,4 +8,4 @@ fun box() : String { if(getSameTypeChecker("lala")(10)) return "fail" if(!getSameTypeChecker("mama")("lala")) return "fail" return "OK" -} \ No newline at end of file +} diff --git a/compiler/testData/diagnostics/tests/regressions/kt402.jet b/compiler/testData/diagnostics/tests/regressions/kt402.jet index 2effc4eb86b..d2afdd4167b 100644 --- a/compiler/testData/diagnostics/tests/regressions/kt402.jet +++ b/compiler/testData/diagnostics/tests/regressions/kt402.jet @@ -5,4 +5,4 @@ fun getTypeChecker() : (Any)->Boolean { } fun f() : (Any) -> Boolean { return { (a : Any) -> a is String } -} \ No newline at end of file +} diff --git a/compiler/testData/diagnostics/tests/regressions/kt41.jet b/compiler/testData/diagnostics/tests/regressions/kt41.jet index e8ace3901ad..1398f5ee8de 100644 --- a/compiler/testData/diagnostics/tests/regressions/kt41.jet +++ b/compiler/testData/diagnostics/tests/regressions/kt41.jet @@ -8,4 +8,4 @@ fun aaa() = fun bbb() { aaa() 1 // Stupid error: unreachable code -} \ No newline at end of file +} diff --git a/compiler/testData/diagnostics/tests/regressions/kt411.jet b/compiler/testData/diagnostics/tests/regressions/kt411.jet index 1397f9092f2..20764624fe8 100644 --- a/compiler/testData/diagnostics/tests/regressions/kt411.jet +++ b/compiler/testData/diagnostics/tests/regressions/kt411.jet @@ -66,4 +66,4 @@ fun t4() : Int { } return 12 -} \ No newline at end of file +} diff --git a/compiler/testData/diagnostics/tests/regressions/kt439.jet b/compiler/testData/diagnostics/tests/regressions/kt439.jet index 49fd6e28082..51fe7b6a134 100644 --- a/compiler/testData/diagnostics/tests/regressions/kt439.jet +++ b/compiler/testData/diagnostics/tests/regressions/kt439.jet @@ -4,4 +4,4 @@ inline fun run1(body : () -> T) : T = body() fun main1(args : Array) { run1 @l{ 1 } // should not be an error -} \ No newline at end of file +} diff --git a/compiler/testData/diagnostics/tests/regressions/kt442.jet b/compiler/testData/diagnostics/tests/regressions/kt442.jet index a10fd8565d2..c09cca93b3f 100644 --- a/compiler/testData/diagnostics/tests/regressions/kt442.jet +++ b/compiler/testData/diagnostics/tests/regressions/kt442.jet @@ -28,4 +28,4 @@ fun main(args : Array) { val a = 1 with { plus(1) } -} \ No newline at end of file +} diff --git a/compiler/testData/diagnostics/tests/regressions/kt443.jet b/compiler/testData/diagnostics/tests/regressions/kt443.jet index 54831513552..a9219a5b9fd 100644 --- a/compiler/testData/diagnostics/tests/regressions/kt443.jet +++ b/compiler/testData/diagnostics/tests/regressions/kt443.jet @@ -11,4 +11,4 @@ class N() : M() { return super.b + 1 } override val b: Int = a + 1 -} \ No newline at end of file +} diff --git a/compiler/testData/diagnostics/tests/regressions/kt455.jet b/compiler/testData/diagnostics/tests/regressions/kt455.jet index a30e73c4bff..6265d564309 100644 --- a/compiler/testData/diagnostics/tests/regressions/kt455.jet +++ b/compiler/testData/diagnostics/tests/regressions/kt455.jet @@ -7,4 +7,4 @@ fun foo() { doSmth(a) //error doSmth(a) //no repeat error } -fun doSmth(i: Int) {} \ No newline at end of file +fun doSmth(i: Int) {} diff --git a/compiler/testData/diagnostics/tests/regressions/kt456.jet b/compiler/testData/diagnostics/tests/regressions/kt456.jet index 5ad3ffc2a6f..65b7dabb402 100644 --- a/compiler/testData/diagnostics/tests/regressions/kt456.jet +++ b/compiler/testData/diagnostics/tests/regressions/kt456.jet @@ -27,4 +27,4 @@ class C() { } } -fun doSmth() {} \ No newline at end of file +fun doSmth() {} diff --git a/compiler/testData/diagnostics/tests/regressions/kt459.jet b/compiler/testData/diagnostics/tests/regressions/kt459.jet index 930e9e76670..81af1374d08 100644 --- a/compiler/testData/diagnostics/tests/regressions/kt459.jet +++ b/compiler/testData/diagnostics/tests/regressions/kt459.jet @@ -6,4 +6,4 @@ fun test() { attributes["href"] = "1" // inference fails, but it shouldn't } -fun java.util.Map.set(key : K, value : V) {}//= this.put(key, value) \ No newline at end of file +fun java.util.Map.set(key : K, value : V) {}//= this.put(key, value) diff --git a/compiler/testData/diagnostics/tests/regressions/kt526UnresolvedReferenceInnerStatic.jet b/compiler/testData/diagnostics/tests/regressions/kt526UnresolvedReferenceInnerStatic.jet index 65a0bccdbf4..0d10700a0d7 100644 --- a/compiler/testData/diagnostics/tests/regressions/kt526UnresolvedReferenceInnerStatic.jet +++ b/compiler/testData/diagnostics/tests/regressions/kt526UnresolvedReferenceInnerStatic.jet @@ -12,4 +12,4 @@ class User { fun main() : Unit { var boo : Foo.Bar? /* <-- this reference is red */ = Foo.Bar() } -} \ No newline at end of file +} diff --git a/compiler/testData/diagnostics/tests/regressions/kt557.jet b/compiler/testData/diagnostics/tests/regressions/kt557.jet index 546965a6064..0d1dc9a10e9 100644 --- a/compiler/testData/diagnostics/tests/regressions/kt557.jet +++ b/compiler/testData/diagnostics/tests/regressions/kt557.jet @@ -6,4 +6,4 @@ fun Array.length() : Int { fun test(array : Array?) { array?.sure>().length() -} \ No newline at end of file +} diff --git a/compiler/testData/diagnostics/tests/regressions/kt575.jet b/compiler/testData/diagnostics/tests/regressions/kt575.jet index 6f796301ad7..824811c3fa9 100644 --- a/compiler/testData/diagnostics/tests/regressions/kt575.jet +++ b/compiler/testData/diagnostics/tests/regressions/kt575.jet @@ -29,4 +29,4 @@ class Creature() { A.bbb++ C().ccc++ } -} \ No newline at end of file +} diff --git a/compiler/testData/diagnostics/tests/regressions/kt58.jet b/compiler/testData/diagnostics/tests/regressions/kt58.jet index 4d2edb3c7b4..270a1d63b4d 100644 --- a/compiler/testData/diagnostics/tests/regressions/kt58.jet +++ b/compiler/testData/diagnostics/tests/regressions/kt58.jet @@ -89,4 +89,4 @@ fun t7() : Int { } fun doSmth(i: Int) { -} \ No newline at end of file +} diff --git a/compiler/testData/diagnostics/tests/regressions/kt597.jet b/compiler/testData/diagnostics/tests/regressions/kt597.jet index bb32c636edb..6f4b71c9fb1 100644 --- a/compiler/testData/diagnostics/tests/regressions/kt597.jet +++ b/compiler/testData/diagnostics/tests/regressions/kt597.jet @@ -17,4 +17,4 @@ fun Int?.inc() : Int { fun test() { var i : Int? = 10 var i_inc = i++ // <- expected Int?, but returns Any? -} \ No newline at end of file +} diff --git a/compiler/testData/diagnostics/tests/regressions/kt618.jet b/compiler/testData/diagnostics/tests/regressions/kt618.jet index 616f0283f8f..8f6d26f493b 100644 --- a/compiler/testData/diagnostics/tests/regressions/kt618.jet +++ b/compiler/testData/diagnostics/tests/regressions/kt618.jet @@ -25,4 +25,4 @@ fun main(args : Array) { c /= B() c -= B() c %= B() -} \ No newline at end of file +} diff --git a/compiler/testData/diagnostics/tests/regressions/kt629.jet b/compiler/testData/diagnostics/tests/regressions/kt629.jet index 8dd6bc71d81..7f32a12dd75 100644 --- a/compiler/testData/diagnostics/tests/regressions/kt629.jet +++ b/compiler/testData/diagnostics/tests/regressions/kt629.jet @@ -20,4 +20,4 @@ fun box() : Boolean { fun box2() : Boolean { var c = A() return (c.p = "yeah") && true -} \ No newline at end of file +} diff --git a/compiler/testData/diagnostics/tests/regressions/kt630.jet b/compiler/testData/diagnostics/tests/regressions/kt630.jet index 840941d9807..2b26b0faa1e 100644 --- a/compiler/testData/diagnostics/tests/regressions/kt630.jet +++ b/compiler/testData/diagnostics/tests/regressions/kt630.jet @@ -1,3 +1,3 @@ // KT-630 Bad type inference val x = "lala".sure() -val s : String = x \ No newline at end of file +val s : String = x diff --git a/compiler/testData/diagnostics/tests/regressions/kt688.jet b/compiler/testData/diagnostics/tests/regressions/kt688.jet index 7ff7a78081b..cf68a865f4e 100644 --- a/compiler/testData/diagnostics/tests/regressions/kt688.jet +++ b/compiler/testData/diagnostics/tests/regressions/kt688.jet @@ -11,4 +11,4 @@ class C() { } val x: B = a({it.b()}, B()) -} \ No newline at end of file +} diff --git a/compiler/testData/diagnostics/tests/regressions/kt691.jet b/compiler/testData/diagnostics/tests/regressions/kt691.jet index 649df9d3c90..ae9df808ea1 100644 --- a/compiler/testData/diagnostics/tests/regressions/kt691.jet +++ b/compiler/testData/diagnostics/tests/regressions/kt691.jet @@ -1,2 +1,2 @@ // KT-691 Allow to create nested namespaces with dot delimiter -package foo.bar.buz \ No newline at end of file +package foo.bar.buz diff --git a/compiler/testData/diagnostics/tests/regressions/kt701.jet b/compiler/testData/diagnostics/tests/regressions/kt701.jet index 3b5659a2008..75320e6c8f6 100644 --- a/compiler/testData/diagnostics/tests/regressions/kt701.jet +++ b/compiler/testData/diagnostics/tests/regressions/kt701.jet @@ -15,4 +15,4 @@ public class Throwables() { propagateIfInstanceOf(throwable, getJavaClass) // Type inference failed: Mismatch while expanding constraints } } -} \ No newline at end of file +} diff --git a/compiler/testData/diagnostics/tests/regressions/kt716.jet b/compiler/testData/diagnostics/tests/regressions/kt716.jet index b8739a9cd64..24f547f7c95 100644 --- a/compiler/testData/diagnostics/tests/regressions/kt716.jet +++ b/compiler/testData/diagnostics/tests/regressions/kt716.jet @@ -14,4 +14,4 @@ fun getJavaClass() = typeinfo.getJavaClass() fun main(args : Array) { System.out?.println(getJavaClass) -} \ No newline at end of file +} diff --git a/compiler/testData/diagnostics/tests/regressions/kt743.jet b/compiler/testData/diagnostics/tests/regressions/kt743.jet index 2988a573a65..e8abe9ee427 100644 --- a/compiler/testData/diagnostics/tests/regressions/kt743.jet +++ b/compiler/testData/diagnostics/tests/regressions/kt743.jet @@ -3,4 +3,4 @@ class List(val head: T, val tail: List? = null) fun List.map(f: (T)-> Q): List? = tail.sure>().map(f) -fun foo(t : T) : T = foo(t) \ No newline at end of file +fun foo(t : T) : T = foo(t) diff --git a/compiler/testData/diagnostics/tests/regressions/kt762.jet b/compiler/testData/diagnostics/tests/regressions/kt762.jet index 848d478794e..cbeab3b23b8 100644 --- a/compiler/testData/diagnostics/tests/regressions/kt762.jet +++ b/compiler/testData/diagnostics/tests/regressions/kt762.jet @@ -1,4 +1,4 @@ //KT-762 Wrong highlighting in imports (No errors reported on unresolved imports) import aaa // must be an error -fun main(args : Array) {} \ No newline at end of file +fun main(args : Array) {} diff --git a/compiler/testData/diagnostics/tests/regressions/kt847.jet b/compiler/testData/diagnostics/tests/regressions/kt847.jet index e62c3076d51..883fcf63b79 100644 --- a/compiler/testData/diagnostics/tests/regressions/kt847.jet +++ b/compiler/testData/diagnostics/tests/regressions/kt847.jet @@ -1,3 +1,3 @@ fun T.mustBe(t : T) { "$this must be$as$t" -} \ No newline at end of file +} diff --git a/compiler/testData/diagnostics/tests/scopes/Imports.jet b/compiler/testData/diagnostics/tests/scopes/Imports.jet index e2ca13aac67..4b763e36fc3 100644 --- a/compiler/testData/diagnostics/tests/scopes/Imports.jet +++ b/compiler/testData/diagnostics/tests/scopes/Imports.jet @@ -96,4 +96,4 @@ class A() { open class B() {} object C : B() {} } -} \ No newline at end of file +} diff --git a/compiler/testData/diagnostics/tests/scopes/kt1078.jet b/compiler/testData/diagnostics/tests/scopes/kt1078.jet index 2667028763e..aef363bfa9a 100644 --- a/compiler/testData/diagnostics/tests/scopes/kt1078.jet +++ b/compiler/testData/diagnostics/tests/scopes/kt1078.jet @@ -13,4 +13,4 @@ class B() { fun bar() = true } -fun foo() = B() \ No newline at end of file +fun foo() = B() diff --git a/compiler/testData/diagnostics/tests/scopes/kt1080.jet b/compiler/testData/diagnostics/tests/scopes/kt1080.jet index d8f1b035942..b7412af7c10 100644 --- a/compiler/testData/diagnostics/tests/scopes/kt1080.jet +++ b/compiler/testData/diagnostics/tests/scopes/kt1080.jet @@ -13,4 +13,4 @@ import b.d //FILE:b.kt -package b.d \ No newline at end of file +package b.d diff --git a/compiler/testData/diagnostics/tests/scopes/kt250.617.10.jet b/compiler/testData/diagnostics/tests/scopes/kt250.617.10.jet index a7c98104ac7..e81cf184154 100644 --- a/compiler/testData/diagnostics/tests/scopes/kt250.617.10.jet +++ b/compiler/testData/diagnostics/tests/scopes/kt250.617.10.jet @@ -49,4 +49,4 @@ class Y(i: Int) : X(i, rrr) { class Z(val i: Int) : X(s, x) { val x = 2 -} \ No newline at end of file +} diff --git a/compiler/testData/diagnostics/tests/scopes/kt587.jet b/compiler/testData/diagnostics/tests/scopes/kt587.jet index 84d6f4a80a8..b61a4bb5688 100644 --- a/compiler/testData/diagnostics/tests/scopes/kt587.jet +++ b/compiler/testData/diagnostics/tests/scopes/kt587.jet @@ -8,4 +8,4 @@ class Main { } } } -} \ No newline at end of file +} diff --git a/compiler/testData/diagnostics/tests/scopes/kt900.jet b/compiler/testData/diagnostics/tests/scopes/kt900.jet index c0623f56335..c18452e8eef 100644 --- a/compiler/testData/diagnostics/tests/scopes/kt900.jet +++ b/compiler/testData/diagnostics/tests/scopes/kt900.jet @@ -127,4 +127,4 @@ object A { object B { fun foo() {} } -} \ No newline at end of file +} diff --git a/compiler/testData/diagnostics/tests/scopes/kt939.jet b/compiler/testData/diagnostics/tests/scopes/kt939.jet index 4717a3b4313..d52c1bd3525 100644 --- a/compiler/testData/diagnostics/tests/scopes/kt939.jet +++ b/compiler/testData/diagnostics/tests/scopes/kt939.jet @@ -17,4 +17,4 @@ fun test() { val x = System.getProperty("path.separator")?.length ?: 4 x * 55 + 5 -} \ No newline at end of file +} diff --git a/compiler/testData/diagnostics/tests/shadowing/ShadowParameterInFunctionBody.jet b/compiler/testData/diagnostics/tests/shadowing/ShadowParameterInFunctionBody.jet index 943e005359e..ba6fafe7a02 100644 --- a/compiler/testData/diagnostics/tests/shadowing/ShadowParameterInFunctionBody.jet +++ b/compiler/testData/diagnostics/tests/shadowing/ShadowParameterInFunctionBody.jet @@ -1,4 +1,4 @@ fun f(p: Int): Int { val p = 2 return p -} \ No newline at end of file +} diff --git a/compiler/testData/diagnostics/tests/shadowing/ShadowParameterInNestedBlockInFor.jet b/compiler/testData/diagnostics/tests/shadowing/ShadowParameterInNestedBlockInFor.jet index fa42b9741a3..e9534b0cf26 100644 --- a/compiler/testData/diagnostics/tests/shadowing/ShadowParameterInNestedBlockInFor.jet +++ b/compiler/testData/diagnostics/tests/shadowing/ShadowParameterInNestedBlockInFor.jet @@ -4,4 +4,4 @@ fun f(i: Int) { var i = 12 } } -} \ No newline at end of file +} diff --git a/compiler/testData/diagnostics/tests/shadowing/ShadowVariableInNestedBlock.jet b/compiler/testData/diagnostics/tests/shadowing/ShadowVariableInNestedBlock.jet index bd767e82afc..ac5ff05e1f5 100644 --- a/compiler/testData/diagnostics/tests/shadowing/ShadowVariableInNestedBlock.jet +++ b/compiler/testData/diagnostics/tests/shadowing/ShadowVariableInNestedBlock.jet @@ -4,4 +4,4 @@ fun ff(): Int { val i = 2 } return i -} \ No newline at end of file +} diff --git a/compiler/testData/diagnostics/tests/shadowing/ShadowVariableInNestedClosure.jet b/compiler/testData/diagnostics/tests/shadowing/ShadowVariableInNestedClosure.jet index e6d6b19b199..b64caacd881 100644 --- a/compiler/testData/diagnostics/tests/shadowing/ShadowVariableInNestedClosure.jet +++ b/compiler/testData/diagnostics/tests/shadowing/ShadowVariableInNestedClosure.jet @@ -2,4 +2,4 @@ fun f(): Int { var i = 17 { (): Unit -> var i = 18 } return i -} \ No newline at end of file +} diff --git a/compiler/testData/diagnostics/tests/shadowing/ShadowVariableInNestedClosureParam.jet b/compiler/testData/diagnostics/tests/shadowing/ShadowVariableInNestedClosureParam.jet index 6939a528400..695b1664c49 100644 --- a/compiler/testData/diagnostics/tests/shadowing/ShadowVariableInNestedClosureParam.jet +++ b/compiler/testData/diagnostics/tests/shadowing/ShadowVariableInNestedClosureParam.jet @@ -2,4 +2,4 @@ fun ff(): Int { var i = 1 { (i: Int) -> i } return i -} \ No newline at end of file +} diff --git a/compiler/testData/diagnostics/tests/tuples/BasicTuples.jet b/compiler/testData/diagnostics/tests/tuples/BasicTuples.jet index adb1e984318..fac1a06d005 100644 --- a/compiler/testData/diagnostics/tests/tuples/BasicTuples.jet +++ b/compiler/testData/diagnostics/tests/tuples/BasicTuples.jet @@ -1,4 +1,4 @@ fun foo(a : #(Int, String)) { a._1 : Int a._2 : String -} \ No newline at end of file +}