Skip to content

Commit 0c15df7

Browse files
andruudAnders Hartvoll Ruud
and
Anders Hartvoll Ruud
authored
[css-mixins-1] Make locals untyped again (#11831)
7efac5a accidentally made local variables "inherit" any type specified by a shadowed parameter. This simply restores the old behavior of locals being untyped. Co-authored-by: Anders Hartvoll Ruud
1 parent a55be30 commit 0c15df7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

css-mixins-1/Overview.bs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -520,6 +520,8 @@ with its [=function parameters=] overriding "inherited" custom properties of the
520520
9. For each [=custom property registration=] of |registrations|,
521521
set its initial value
522522
to the corresponding value in |argument styles|,
523+
set its syntax
524+
to the [=universal syntax definition=],
523525
and prepend a [=custom property=] to |body rule|
524526
with the property name and value in |argument styles|.
525527
10. [=Resolve function styles=] using |body rule|, |registrations|, and |calling context|.

0 commit comments

Comments
 (0)