turbulenz / turbulenz_engine

Turbulenz is a modular 3D and 2D game framework for making HTML5 powered games for browsers, desktops and mobile devices.
http://turbulenz.com
MIT License
4.55k stars 513 forks source link

Latest Typescript compiler breaks bundled .d.ts files #18

Closed jakobmulvad closed 11 years ago

jakobmulvad commented 11 years ago

It seems the latest typescript compiler has a stricter syntax of the .d.ts files, which causes the .d.ts files bundled with the SDK to not compile anymore.

More specifically the problem is these two changes:

More about the breaking changes can be found here:

https://typescript.codeplex.com/wikipage?title=Known%20breaking%20changes%20between%200.8%20and%200.9

You can download older releases of the Typescript compile on their site so it's not a major issue right now, but something that should be fixed none the less.

dtebbs commented 11 years ago

The current version of the engine supports 0.8.3 of the TypeScript compiler only.

We are working on updating, but we are seeing a few stability and performance issues with the new compiler so we may wait until the next revision before moving to the 0.9 series.

dtebbs commented 11 years ago

Re-opening to keep track of the 0.9.0 upgrade progress.

These are the issues affecting us. I'll add more here as they come up. Please vote them up.

https://typescript.codeplex.com/workitem/1357 https://typescript.codeplex.com/workitem/1325

sgtfrankieboy commented 11 years ago

Any news on the 0.9.x upgrade progress?

dtebbs commented 11 years ago

Internally we now have 0.9.1 working in a branch. It's quite a big code change that needs some stabilizing, but I expect it to be in an upcoming release.

In my experience, the 0.9.1 compiler still has some stability issues, particularly around references, but it does seem to build everything correctly and the strict type checking works wells. It's also a bit faster than 0.9.0, but still a few times slower than 0.8.x.