Tobias Bosch
90b0713e32
refactor(compiler): don’t write summaries for jit by default
...
The default is false externally but true internally at Google.
2017-06-09 15:58:53 -07:00
Chuck Jazdzewski
230255f887
feat(compiler-cli): produce template diagnostics error messages ( #17125 )
...
Refactoring the compiler to use transformers moves the code generation
after type-checking which suppresses the errors TypeScript would
generate in the user code.
`TypeChecker` currently produces the same factory code that was
generated prior the switch to transfomers, getting back the same
diagnostics as before. The refactoring will allow the code to
diverge from the factory code and allow better diagnostic error
messages than was previously possible by type-checking the factories.
2017-06-01 10:13:50 -07:00
Chuck Jazdzewski
18bf77204e
feat(compiler): emit typescript nodes from an output ast ( #16823 )
2017-05-30 10:43:13 -07:00
Tobias Bosch
573b8611bc
fix(compiler): compile `.ngfactory.ts` files even if nobody references them. ( #16899 )
...
This is especially important for library authors, as they will
not reference the .ngfactory.ts files.
Fixes #16741
2017-05-25 11:00:26 -06:00
Tobias Bosch
5af143e8e4
refactor(compiler): allow sync AOT compilation ( #16832 ).
...
AOT compilation can be executed synchronously now,
if the `ReosurceLoader` returns a string directly
(and no `Promise`).
2017-05-23 10:41:23 -06:00
Tobias Bosch
50abca4583
refactor(compiler): don’t rely on global reflector ( #16832 )
...
Using the global reflector made it impossible
to compile multiple programs at the same time.
2017-05-23 10:41:23 -06:00
Chuck Jazdzewski
d761059e4d
fix(compiler-cli): allow '==' to compare nullable types ( #16731 )
...
Fixes : #16729
* fix(compiler-cli): diagnose issues in conditional of ternary
Fixes : #16730
2017-05-16 16:36:51 -07:00
Chuck Jazdzewski
b9521b568f
feat(compiler): support a non-null postfix assert ( #16672 )
...
Template expressions can now use a post-fix `!` operator
that asserts the target of the operator is not null. This is
similar to the TypeScript non-null assert operator. Expressions
generated in factories will be generated with the non-null assert
operator.
Closes : #10855
2017-05-11 10:15:54 -07:00
Chuck Jazdzewski
bb0902c592
refactor(compiler-cli): move the expression expression type checker ( #16562 )
...
The expression type checker moved from the language service
to the compiler-cli in preparation to using it to check
template expressions.
2017-05-09 16:16:50 -07:00
Miško Hevery
5293794316
fix: turn on nullability in the code base.
2017-04-18 12:07:33 -07:00
Chuck Jazdzewski
16e0423085
revert: feat(compiler-cli): support metadata file aliases ( #15331 )
...
This reverts commit 0ab49d4cec
.
PR Close #15331
2017-03-21 12:20:14 -05:00
Jason Aden
410aa33005
build: fix paths to typings files so tsickle resolves imports correctly
...
Fixes #15080
2017-03-16 17:34:29 -07:00
Chuck Jazdzewski
0ab49d4cec
feat(compiler-cli): support metadata file aliases
2017-03-16 17:34:29 -07:00
Jason Aden
3e51a19983
refactor: move angular source to /packages rather than modules/@angular
2017-03-08 16:29:27 -08:00