You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In past versions the compiler silently finished with a non-error return code (as there is no work to be done). This has been confusing to users who wounder why output files were not generated (see #11621 and #11156).
In #11743 we made this an error, so that users are aware that the compilation they ran was a no op.
Ah - I see. Thanks. I'll fix up our test pack to cater for that. I've just realised that this creates a small problem for ts-loader with regards our instance test. i.e. ts-loader was relying on the noop to not error. Now it will; I think we already have an issue raised around this:
Hi,
I'm a maintainer of ts-loader for Webpack. We've just noticed that out simpleDependency test has started failing consistently on Windows and Linux
TypeScript Version: 2.0.3 / nightly (2.1.0-dev.20161025)
Code
Take a look here for the PR on which I noticed the issue: TypeStrong/ts-loader#337
And look here for the Karma test that demostrates the issue: https://github.com/TypeStrong/ts-loader/tree/master/test/execution-tests/simpleDependency
Expected behavior:
Test passes with TypeScript@latest (as with TS 1.6 - 2.0)
Actual behavior:
Test fails with TypeScript@latest (despite passing for other versions of TS)
The text was updated successfully, but these errors were encountered: