.foo {
  @for $var from 1 through 5 {a: $var;}
}
