Semantic enters debug in scheme files

Vladimir Nikishkin <[email protected]> Wed, 11 Mar 2020 22:40:13 +0800
Newsgroups gmane.emacs.cedet
Message-ID <CA+A2iZahBm32222G9aSvDm1rUapM5iANDaKACQW8H4bO0_vUBQ@mail.gmail.com>
Hello

I have a very simple example file:

example.scm:
(define (list . args)
  args)

Note that this function accepts any number of arguments, therefore its
prototype is a dotted list. (list DOT args)
Semantic throws an exception when encountering such a pattern:

Debugger entered: ((2 31))
  semantic--tag-expand((2 31))
  semantic-repeat-parse-whole-stream(((semantic-list 2 . 31)) nil nil)
  semantic-parse-region-default(1 33 nil nil nil)
  semantic-parse-region(1 33)
  semantic-fetch-tags()
  semantic-idle-scheduler-refresh-tags()
  semantic-idle-work-for-one-buffer(#<buffer semantic-scheme-test.scm>)
  semantic-idle-work-core-handler()
  semantic-idle-scheduler-work-function()
  apply(semantic-idle-scheduler-work-function nil)
  timer-event-handler([t 0 60 0 t
semantic-idle-scheduler-work-function nil idle 0])

I'm not qualified enough to debug this. Any suggestions?

-- 
Yours sincerely, Vladimir Nikishkin