-
Notifications
You must be signed in to change notification settings - Fork 207
Open
Labels
Description
I'm probably doing something wrong but bikeshed complains about overloaded constructors. For example, the WebAudio spec says:
interface OfflineAudioContext : BaseAudioContext {
constructor(OfflineAudioContextOptions contextOptions);
constructor(unsigned long numberOfChannels, unsigned long length, float sampleRate);
}
The bikeshed source is basically:
<dl dfn-type=constructor dfn-for="OfflineAudioContext">
: <dfn>OfflineAudioContext(contextOptions)</dfn>
<pre class=argumentdef for="OfflineAudioContext/constructor(contextOptions)">
contextOptions: The initial parameters needed to construct this context.
</pre>
: <dfn>OfflineAudioContext(numberOfChannels, length, sampleRate)</dfn>
<pre class=argumentdef for="OfflineAudioContext/constructor(numberOfChannels, length, sampleRate)">
numberOfChannels: Determines how many channels the buffer will have. See {{BaseAudioContext/createBuffer()}} for the supported number of channels.
length: Determines the size of the buffer in sample-frames.
sampleRate: Describes the sample-rate of the [=linear PCM=] audio data in the buffer in sample-frames per second. See {{BaseAudioContext/createBuffer()}} for valid sample rates.
</pre>
Bikeshed produces these messages:
LINE: Can't find the 'contextOptions' argument of method 'OfflineAudioContext/constructor(numberOfChannels, length, sampleRate)' in the argumentdef block.
LINK ERROR: No 'argument' refs found for 'contextOptions' with for='OfflineAudioContext/OfflineAudioContext(contextOptions)'.
<a data-lt="contextOptions" data-link-type="argument" data-link-for="OfflineAudioContext/OfflineAudioContext(contextOptions), OfflineAudioContext/constructor(contextOptions)">contextOptions</a>
LINK ERROR: No 'argument' refs found for 'numberOfChannels' with for='OfflineAudioContext/OfflineAudioContext(numberOfChannels, length, sampleRate)'.
<a data-lt="numberOfChannels" data-link-type="argument" data-link-for="OfflineAudioContext/OfflineAudioContext(numberOfChannels, length, sampleRate), OfflineAudioContext/constructor(numberOfChannels, length, sampleRate)">numberOfChannels</a>
LINK ERROR: No 'argument' refs found for 'length' with for='OfflineAudioContext/OfflineAudioContext(numberOfChannels, length, sampleRate)'.
<a data-lt="length" data-link-type="argument" data-link-for="OfflineAudioContext/OfflineAudioContext(numberOfChannels, length, sampleRate), OfflineAudioContext/constructor(numberOfChannels, length, sampleRate)">length</a>
LINK ERROR: No 'argument' refs found for 'sampleRate' with for='OfflineAudioContext/OfflineAudioContext(numberOfChannels, length, sampleRate)'.
<a data-lt="sampleRate" data-link-type="argument" data-link-for="OfflineAudioContext/OfflineAudioContext(numberOfChannels, length, sampleRate), OfflineAudioContext/constructor(numberOfChannels, length, sampleRate)">sampleRate</a>