Giter Site home page Giter Site logo

Comments (10)

derekcicerone-zz avatar derekcicerone-zz commented on May 29, 2024

Good point: that setting is currently only used for the builder, not the reconciler (which can also display errors). Should be easy to fix.

from eclipse-typescript.

Rouche avatar Rouche commented on May 29, 2024

Is this bug fixed? I am getting this error on version 1.7.0.v20151201-1631 com.palantir.typescript.feature.feature.group Palantir Technologies, Inc.
I am set on target ES6 (ES5 also have same problem)

Or is there a workaround? Weird because the file is correctly compiled to .js.

Code that makes the error:
public static get MY_VAR(): string { return "MY_VALUE" };

Thanks.

from eclipse-typescript.

derekcicerone-zz avatar derekcicerone-zz commented on May 29, 2024

This should be fixed. What does the error message look like?

from eclipse-typescript.

Rouche avatar Rouche commented on May 29, 2024

Accessors are only available when targeting ECMAScript 5 and higher.

Exactly like original post.

from eclipse-typescript.

derekcicerone-zz avatar derekcicerone-zz commented on May 29, 2024

I just tried this and I'm unable to reproduce the issue. Are you sure you are using the latest plugin and the ECMA version is set to 5 or later? You might want to try rebooting Eclipse as well.

from eclipse-typescript.

Rouche avatar Rouche commented on May 29, 2024

This is definatelly weird. We tryed targetting ES5 and ES6 without success.

All our devs have the same problem. We are on the eclipse Mars.1 (4.5.1) Java Developpers 64bit.
I will do some more tests like with a clean workspace, we never know.

Do you want me to zip our version and put it on drive?

from eclipse-typescript.

derekcicerone-zz avatar derekcicerone-zz commented on May 29, 2024

Can you check in the plugins folder and verify you have the latest version of the plugin? Someone else recently hit issues that didn't seem possible with the latest release and it turned out they have an older version of the plugin hanging around.

from eclipse-typescript.

Rouche avatar Rouche commented on May 29, 2024

Ok, i will check all this (tomorrow).

from eclipse-typescript.

Rouche avatar Rouche commented on May 29, 2024

We did had an old 1.5.0 version lying in plugins but.... there was a project settings override.

I feel bad, very sorry to have made you loose time.

Thanks.

from eclipse-typescript.

derekcicerone-zz avatar derekcicerone-zz commented on May 29, 2024

Cool, no worries, glad you figured it out!

from eclipse-typescript.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.