From ebc5c0cafaf72642a54e3160ec9505eac814fa32 Mon Sep 17 00:00:00 2001 From: SirOlaf <.> Date: Sat, 16 Mar 2024 21:08:30 +0100 Subject: [PATCH] Don't start with getEbase --- nimsuggest/nimsuggest.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nimsuggest/nimsuggest.nim b/nimsuggest/nimsuggest.nim index 67fc2f8c42..5aeb11a9d2 100644 --- a/nimsuggest/nimsuggest.nim +++ b/nimsuggest/nimsuggest.nim @@ -928,7 +928,7 @@ proc suggestInlayHintResultException(graph: ModuleGraph, sym: PSym, info: TLineI if sym.kind == skParam and sfEffectsDelayed in sym.flags: return - var raisesList: seq[PType] = @[getEbase(graph, info)] + var raisesList: seq[PType] = @[] let t = sym.typ if not isNil(t) and not isNil(t.n) and t.n.len > 0 and t.n[0].len > exceptionEffects: