You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that a function and functional type (ending with ()>) cannot be inferred (does it end with ()?Is it surrounded by <>?), according to the result from processing the source below with (the online version of) Bikeshed:
<preclass=metadata>
Title: Test
Status: DREAM
ED: https://api.csswg.org/bikeshed/
Shortname: test
Level: 1
Editor: me
Abstract: Bikeshed test.
</pre><preclass="prod def"><dfn>inferred-fn()</dfn><!-- unexpected: data-dfn-type is "dfn" instead of "function" whereas it ends with () --></pre><preclass="prod def"><dfnfunction>explicit-fn()</dfn><dfn><type-a></dfn> = <<explicit-fn()>><dfn><type-b></dfn> = ''explicit-fn()'' <!-- type is "maybe" --></pre><preclass="prod def"><dfn><inferred-type()></dfn><!-- unexpected: data-dfn-type is "dfn" instead of "type" whereas it is surrounded by <> --></pre><preclass="prod def"><dfntype><explicit-type()></dfn><dfn><type-c></dfn> = <<explicit-type()>><!-- LINK ERROR (no ref) --><dfn><type-d></dfn> = ''<<explicit-type()>>'' <!-- no link is created --></pre>
As commented in the source, not being able to link to a functional type (because <<fn()>> always links to a function) seems problematic. For example, in CSS Mixins (source):
<<type()>> does not link to the type definition on the next line, but to the (inlined) function in CSS Images 4.
If I remember correctly and understood correctly, function exists to avoid a name collision between value and value(). But I do not see why we could not link to a function using ''value()'' rather than <<value()>>, nor why function and functional type could not be inferred as expected.
The text was updated successfully, but these errors were encountered:
It seems that a
function
and functionaltype
(ending with()>
) cannot be inferred (does it end with()
? Is it surrounded by<>
?), according to the result from processing the source below with (the online version of) Bikeshed:As commented in the source, not being able to link to a functional
type
(because<<fn()>>
always links to afunction
) seems problematic. For example, in CSS Mixins (source):<<type()>>
does not link to thetype
definition on the next line, but to the (inlined)function
in CSS Images 4.If I remember correctly and understood correctly,
function
exists to avoid a name collision betweenvalue
andvalue()
. But I do not see why we could not link to afunction
using''value()''
rather than<<value()>>
, nor whyfunction
and functionaltype
could not be inferred as expected.The text was updated successfully, but these errors were encountered: