vtst / ow

Various Eclipse plugins for web development
http://www.normalesup.org/~simonet/soft/
74 stars 29 forks source link

LESS: Bogus mixin validation errors #188

Closed derekcicerone-zz closed 10 years ago

derekcicerone-zz commented 10 years ago

It seems like the latest release (10.0.19) introduced a regression in mixin validation.

With this mixin:

.multiple-transition(@transition-info) {
  -webkit-transition: @transition-info;
  -moz-transition:    @transition-info;
  -ms-transition:     @transition-info;
  -o-transition:      @transition-info;
  transition:         @transition-info;
}

This call has a validation error:

.multiple-transition(~"border-color 0.2s ease-in, box-shadow 0.2s ease-in");

But this call succeeds:

.multiple-transition(@transition-info: ~"border-color 0.2s ease-in, box-shadow 0.2s ease-in");
ashwinr commented 10 years ago

+1. Can you please look into it?

dduugg commented 10 years ago

+1

DaSchTour commented 10 years ago

I have a similar problem with bootstraps

gradient.horizontal(rgba(0,0,0,0), rgba(0,0,0,0.65));

Which even breaks every autocomplete and syntax-highlight below the closing } after this statment