nex3/sass — Issue #258: Scoped variable declarations override global variable definitions.
Author: twoolie
Created: 2012-01-29 05:27:33+00:00
State: open

Test SASS file:

$color: white
.scoped
$color: black
color: $color
html
color: $color

Expected Output:

.scoped { color: black; }
html { color: white; }

Actual Output:

.scoped { color: black; }
html { color: black; }

it seems like the scoped variable assignment overrides the superscoped variable. I do not know if this is by design or not but i could not find mention of it in the issues list, or the language reference.