This seems to fix it, not sure it's perfect though:
```diff
diff --git a/ctags/parsers/typescript.c b/ctags/parsers/typescript.c
index 7dcc338ef..3fcd956a8 100644
--- a/ctags/parsers/typescript.c
+++ b/ctags/parsers/typescript.c
@@ -1820,8 +1820,11 @@ static void parseClassBody (const int scope, tokenInfo 
*const token)
                                        parsingValue = false;
                                        break;
                                case TOKEN_OPEN_PAREN:
-                                       if (! member) break;
                                        uwiUngetC ('(');
+                                       if (! member) {
+                                               parsed = tryParser 
(parseParens, token, false);
+                                               break;
+                                       }
 
                                        const int nscope = emitTag (member, 
isGenerator ? TSTAG_GENERATOR : TSTAG_METHOD);
 
```

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/3416#issuecomment-1452585750
You are receiving this because you are subscribed to this thread.

Message ID: <geany/geany/issues/3416/[email protected]>

Reply via email to