summary refs log tree commit diff stats
path: root/nim/seminst.pas
diff options
context:
space:
mode:
Diffstat (limited to 'nim/seminst.pas')
-rwxr-xr-xnim/seminst.pas2
1 files changed, 1 insertions, 1 deletions
diff --git a/nim/seminst.pas b/nim/seminst.pas
index 6a6f272de..ea8889007 100755
--- a/nim/seminst.pas
+++ b/nim/seminst.pas
@@ -182,7 +182,7 @@ begin
     addDecl(c, result);
     if n.sons[codePos] <> nil then begin
       c.p := newProcCon(result);
-      if result.kind in [skProc, skConverter] then begin
+      if result.kind in [skProc, skMethod, skConverter] then begin
         addResult(c, result.typ.sons[0], n.info);
         addResultNode(c, n);
       end;