Enable 4 ScriptTest cases and fix __PACKAGE__ resolution
This commit is contained in:
1 parent
e2d359f7a7
commit
40b6ec023c
5 files changed
+251
-1
No files matched your search
@@ -458,6 +458,7 @@ class Compiler(
|
||||
val needsSlotPlan = slotPlanStack.isEmpty()
|
||||
if (needsSlotPlan) {
|
||||
slotPlanStack.add(SlotPlan(mutableMapOf(), 0, nextScopeId++))
|
||||
declareSlotNameIn(slotPlanStack.last(), "__PACKAGE__", isMutable = false, isDelegated = false)
|
||||
seedSlotPlanFromScope(importManager.rootScope)
|
||||
predeclareTopLevelSymbols()
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user