Jason Freeman
cb9954bd20
The element/iterated type of any is any
2015-04-14 17:12:53 -07:00
Mohamed Hegazy
fe75002450
Fix #2724 : ensure checkIteratedTypeOrElementType returns a type
2015-04-13 19:41:29 -07:00
Cyrus Najmabadi
f1a2e41a8a
Sort diagnostics in our baseline output.
...
This was we don't get noisy baselines just because a different phase of the compiler reported
the diagnostic.
This helps with Yui's refactoring work to move grammar checks into the type checker.
2014-12-16 15:56:56 -08:00
Anders Hejlsberg
816abb19e4
Merge branch 'master' into destructuring
...
Conflicts:
src/compiler/checker.ts
src/compiler/diagnosticInformationMap.generated.ts
src/compiler/diagnosticMessages.json
src/compiler/emitter.ts
src/compiler/parser.ts
src/compiler/types.ts
src/services/navigationBar.ts
tests/baselines/reference/assignmentLHSIsValue.errors.txt
tests/baselines/reference/objectTypesWithOptionalProperties.errors.txt
tests/baselines/reference/parserErrorRecovery_ParameterList2.errors.txt
2014-12-03 16:43:01 -08:00
Cyrus Najmabadi
13f319b6ec
Add a lot of clarifying comments in the parser.
...
Simplify parser and avoid the need to pass around 'inNewExpression' information.
Make error span smaller for "new Foo[]" errors.
2014-11-29 14:51:25 -08:00
Anders Hejlsberg
98eaca541a
Accepting new baselines
2014-11-28 10:06:43 -08:00
Daniel Rosenwasser
9f7782d392
Added error 'prologue' to each error baseline.
2014-09-12 13:35:07 -07:00
Daniel Rosenwasser
ee86f8b711
Harness now prints category and code when running tests.
2014-09-11 16:11:08 -07:00
Daniel Rosenwasser
122b78612c
Recovered deleted, renumbered existing, reworded some.
2014-08-07 15:59:49 -07:00
Mohamed Hegazy
214df64e28
Add snapshot of compiler sources
2014-07-12 17:30:19 -07:00