From dcc6392eb47a02edb9bf03c6176370958256f06f Mon Sep 17 00:00:00 2001 From: Nikolay Krasko Date: Fri, 11 May 2012 18:58:54 +0400 Subject: [PATCH] Intermediate major refactorings for lazy resolve - test fix (order changed) --- .../cfg/LocalDeclarations.instructions | 40 +++++++++---------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/compiler/testData/cfg/LocalDeclarations.instructions b/compiler/testData/cfg/LocalDeclarations.instructions index 179ed5fe1d7..060b9e31931 100644 --- a/compiler/testData/cfg/LocalDeclarations.instructions +++ b/compiler/testData/cfg/LocalDeclarations.instructions @@ -29,6 +29,26 @@ error: sink: NEXT:[] PREV:[] ===================== +== O == +object O { + val x : Int + { + $x = 1 + } +} +--------------------- +l0: + NEXT:[v(val x : Int)] PREV:[] + v(val x : Int) NEXT:[r(1)] PREV:[] + r(1) NEXT:[w($x)] PREV:[v(val x : Int)] + w($x) NEXT:[] PREV:[r(1)] +l1: + NEXT:[] PREV:[w($x)] +error: + NEXT:[] PREV:[] +sink: + NEXT:[] PREV:[] +===================== == null == object { val x : Int @@ -56,26 +76,6 @@ error: sink: NEXT:[] PREV:[] ===================== -== O == -object O { - val x : Int - { - $x = 1 - } -} ---------------------- -l0: - NEXT:[v(val x : Int)] PREV:[] - v(val x : Int) NEXT:[r(1)] PREV:[] - r(1) NEXT:[w($x)] PREV:[v(val x : Int)] - w($x) NEXT:[] PREV:[r(1)] -l1: - NEXT:[] PREV:[w($x)] -error: - NEXT:[] PREV:[] -sink: - NEXT:[] PREV:[] -===================== == doSmth == fun doSmth(i: Int) {} ---------------------