Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipse.org-architecture-council] Javascript: a bug that makes me really sad....


wtp-dev is where you should raise this.

We have a PR for SR1 that will go in an disable this 1998 crappy validation.

Thus you at least don't get these bogus warnings/error markers.

/max


I am excited about mars being out. But there is a bug,
that makes me really really sad. The most popular eclipse
package is JavaEE and it contains JavaScript. But eclipse
supports only JavaScript 1998.

https://bugs.eclipse.org/bugs/show_bug.cgi?id=223131

The most annoying problem is that modern versions of javascript
allow keywords if they are part of a data structure:

promise.catch(function(){...});
var foo {
   default: 42
}




Many libraries use `throw` and `catch` as methods on objects
and this causes a lot of errors and the rest of the file cannot
be parsed.

I know there are a lot of different javascript solutions out
there that work better than this. But, the out of box experience
with eclipse is, well suboptimal.

Is there anything the architecture council can do about this?


Michael


_______________________________________________
eclipse.org-architecture-council mailing list
eclipse.org-architecture-council@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/eclipse.org-architecture-council

IMPORTANT: Membership in this list is generated by processes internal to the Eclipse Foundation. To be permanently removed from this list, you must contact emo@xxxxxxxxxxx to request removal.


/max
http://about.me/maxandersen


Back to the top