pasaran/yate — Issue #30: add conditional class to empty (undefined) class
Author: alexeyten
Created: 2012-02-17 11:24:48+00:00
State: open
Labels: bug

add conditional class to empty (undefined) class generates bogus class.

match / {

@class += if 1 { "b-hello" }
"Hello, { .username }"

}

produces

Hello, nop