LearnBoost/stylus — Issue #564: Interpolation in @extend
Author: jacobrask
Created: 2012-02-11 22:24:04+00:00
State: open

Assume the following "pseudo-stylus":

grid-columns = 12
.span
margin-left: 10px

for cols in 1..grid-columns
.span{cols}
width: 100px * cols

.container
@extend .span{grid-columns}

.container does not extend .span12 as expected, but rather extends .span.