Skip to content

Commit

Permalink
Test @extend without a selector (#2044)
Browse files Browse the repository at this point in the history
  • Loading branch information
nex3 authored Jan 22, 2025
1 parent 9a77a9a commit 51f6902
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions spec/directives/extend/error.hrx
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,16 @@ See https://sass-lang.com/d/extend-compound for details.
| ^^^^^^^
'
input.scss 5:11 root stylesheet

<===>
================================================================================
<===> no_selector/input.scss
a {@extend}

<===> no_selector/error
Error: expected selector.
,
1 | a {@extend}
| ^
'
input.scss 1:11 root stylesheet

0 comments on commit 51f6902

Please sign in to comment.