Simplify LocalDeclarationsLowering, support declaration pop up via separate lower

1. Scheme of capturing local variables not touched
 2. Lowered local functions are transposed to the nearest class (including local) or file
 3. Local classes are also transpose to the nearest class (including local) or file
This commit is contained in:
Mikhael Bogdanov
2019-06-26 07:25:21 +02:00
parent bb48e756ca
commit 9b6fef005f
14 changed files with 130 additions and 111 deletions
@@ -1,5 +1,5 @@
// TARGET_BACKEND: JVM
// IGNORE_BACKEND: JVM_IR
// WITH_REFLECT
interface C {