Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Should throw an error when passing a block into a mixin without @content #1487

Closed
xzyfer opened this issue Aug 25, 2015 · 1 comment
Closed

Comments

@xzyfer
Copy link
Contributor

xzyfer commented Aug 25, 2015

@mixin foo() {
    foo: &;
}

foo {
  @include foo { bar: baz }
}

Ruby Sass

Error: Mixin "foo" does not accept a content block.
        on line 34 of test.scss, in `foo'
        from line 34 of test.scss

LibSass

foo {
  foo: foo; }
@xzyfer xzyfer added this to the 3.4 milestone Aug 25, 2015
@mgreter mgreter modified the milestones: 3.3, 3.4 Aug 30, 2015
@mgreter mgreter self-assigned this Aug 30, 2015
xzyfer added a commit to xzyfer/sass-spec that referenced this issue Aug 30, 2015
@xzyfer
Copy link
Contributor Author

xzyfer commented Aug 30, 2015

Spec added sass/sass-spec#483

saper pushed a commit to saper/sass-spec that referenced this issue Sep 20, 2015
saper pushed a commit to saper/sass-spec that referenced this issue Sep 21, 2015
saper pushed a commit to saper/sass-spec that referenced this issue Sep 21, 2015
saper pushed a commit to saper/sass-spec that referenced this issue Sep 21, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants