From 414aeb8f5a90e623b3c2df0eed05902403baf6c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rados=C5=82aw=20Wa=C5=9Bko?= Date: Mon, 10 Jun 2024 18:39:20 +0200 Subject: [PATCH] integrate back changes from #9914 after merge commit --- .../main/scala/org/enso/interpreter/runtime/IrToTruffle.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/engine/runtime/src/main/scala/org/enso/interpreter/runtime/IrToTruffle.scala b/engine/runtime/src/main/scala/org/enso/interpreter/runtime/IrToTruffle.scala index 51bdc2334b71..39879ba03711 100644 --- a/engine/runtime/src/main/scala/org/enso/interpreter/runtime/IrToTruffle.scala +++ b/engine/runtime/src/main/scala/org/enso/interpreter/runtime/IrToTruffle.scala @@ -1738,12 +1738,12 @@ class IrToTruffle( nodeForResolution(resolvedName) override protected def resolveFromConversion(): RuntimeExpression = - ConstantObjectNode.build(UnresolvedConversion.build(moduleScope)) + ConstantObjectNode.build(UnresolvedConversion.build(scopeBuilder.asModuleScope())) override protected def resolveUnresolvedSymbol( symbolName: String ): RuntimeExpression = - DynamicSymbolNode.build(UnresolvedSymbol.build(symbolName, moduleScope)) + DynamicSymbolNode.build(UnresolvedSymbol.build(symbolName, scopeBuilder.asModuleScope())) } private def nodeForResolution(