Closed bigtimebuddy closed 3 years ago
I looked into this issue. The crash isn't related to the @typedef
at all. Looks like webdoc wasn't parsing interface extends
properly:
interface IArrayBuffer extends ArrayBuffer {}
This was being parsed into:
{
...,
name: "IArrayBuffer",
extends: [""],
}
From there, some weird stuff happened when trying to find that interface.
I know it sounds totally unrelated but that's where the error was coming from. Adding the snippet in isolation worked fine.
This is released in webdoc 1.1.5
Was having a difficult time documenting
interface
types as typedef. Here's the example:This produces a crash when trying to build:
Workaround
Putting the typedef after the interface and adding the name to typedef didn't break building.