sass / ruby-sass

The original, now deprecated Ruby implementation of Sass

Home Page:https://sass-lang.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

No error is raised when passing an empty content block to a mixin that doesn't contain @content

nex3 opened this issue · comments

From sass/sass#2106:

Yep, looks like a bug to me. Here's a much simpler repro:

@mixin foo() {}
@include foo() {}

It looks like we aren't recognizing the empty content block as something that could trigger the error.