aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/server/analysis.odin3
-rw-r--r--src/testing/testing.odin2
2 files changed, 2 insertions, 3 deletions
diff --git a/src/server/analysis.odin b/src/server/analysis.odin
index f422a24..630110f 100644
--- a/src/server/analysis.odin
+++ b/src/server/analysis.odin
@@ -1120,7 +1120,6 @@ internal_resolve_type_expression :: proc(
}
if check_node_recursion(ast_context, node) {
- //log.error("Recursion detected")
return {}, false
}
@@ -1588,7 +1587,6 @@ internal_resolve_type_identifier :: proc(
using ast
if check_node_recursion(ast_context, node.derived.(^ast.Ident)) {
- //log.error("Recursion detected")
return {}, false
}
@@ -2332,6 +2330,7 @@ resolve_unresolved_symbol :: proc(
symbol.type = ret.type
symbol.signature = ret.signature
symbol.value = ret.value
+ symbol.pkg = ret.pkg
} else {
return false
}
diff --git a/src/testing/testing.odin b/src/testing/testing.odin
index 2e020e1..bdd1e16 100644
--- a/src/testing/testing.odin
+++ b/src/testing/testing.odin
@@ -41,7 +41,7 @@ setup :: proc(src: ^Source) {
common.scratch_allocator_init(
src.document.allocator,
- mem.Kilobyte * 200,
+ mem.Kilobyte * 2000,
context.temp_allocator,
)