We could also check to make sure that lines beginning with - are actually attributes when they aren't in the root. This would allow us to flag all incorrect cases.
Mislav Marohnić wrote: > > On Fri, Apr 11, 2008 at 12:11 PM, Garry Hill > <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote: > > > .someclass > -incorrect-mixin-def > display: block > > would produce: > > .someclass { > color: red; > -incorrect-mixin-display: block; > } > > > Wouldn't it produce this? > > .someclass { color:red } > .someclass -incorrect-mixin-def { display: block } > > But yeah, I feel uneasy thinking that several lines of code are > interpreted sometimes as mixin definition and sometimes as regular > selector depending on whether they are on root or indented. > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Haml" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/haml?hl=en -~----------~----~----~----~------~----~------~--~---
