Commit graph

842 commits

Author SHA1 Message Date
Jason Freeman
ba574725c2 Check that private properties originate in the same declaration 2014-09-15 10:54:42 -07:00
Daniel Rosenwasser
1eb924f2d6 Adding baseline that was missed from previous merge. 2014-09-12 14:51:16 -07:00
Daniel Rosenwasser
325cdeff65 Merge pull request #668 from Microsoft/harnessMessageConsistency2
Changed Harness Output
2014-09-12 14:41:46 -07:00
Daniel Rosenwasser
c277db03b7 Merge pull request #659 from Microsoft/functionTypeLiteralsNeedArrows
Fixed bug where function type literals may omit their '=>'.
2014-09-12 14:36:26 -07:00
Daniel Rosenwasser
9f7782d392 Added error 'prologue' to each error baseline. 2014-09-12 13:35:07 -07:00
Daniel Rosenwasser
5e7e5c5f51 Addressed CR feedback. 2014-09-12 13:07:57 -07:00
Daniel Rosenwasser
ee86f8b711 Harness now prints category and code when running tests. 2014-09-11 16:11:08 -07:00
Daniel Rosenwasser
96e5bd26c3 Fixed bug where function type literals may omit their '=>'. 2014-09-11 16:04:07 -07:00
Jason Freeman
2ba3ae9225 Update package.json 2014-09-11 10:39:57 -07:00
Mohamed Hegazy
9093bac9de Update LKG 2014-09-11 10:29:43 -07:00
Mohamed Hegazy
1f2a2d2ae3 Simple fixes for the tests 2014-09-11 09:23:29 -07:00
Jason Freeman
7439ee35ba Merge pull request #651 from Microsoft/testForDiagnosticBounds
Add asserts for bounds on diagnostics
2014-09-10 18:03:58 -07:00
Jason Freeman
fad5650be6 Fix the error spans issue 2014-09-10 17:57:51 -07:00
Jason Freeman
c27379827b Add asserts for bounds on diagnostics 2014-09-10 16:44:57 -07:00
Anders Hejlsberg
bf084f159d Merge pull request #640 from Microsoft/contextualSignatureInstantiation
Fix contextual signature instantiation during type inference
2014-09-09 18:46:42 -07:00
Sheetal Nandi
163674d07c Merge pull request #638 from Microsoft/qualificationOfMethods
Fix the condition for qualifying the symbol of methods and functions in the enclosing declaration
2014-09-09 16:21:41 -07:00
Anders Hejlsberg
2b58a239d1 Accepting new baselines 2014-09-09 15:23:24 -07:00
Anders Hejlsberg
34c4b312f9 Fix contextual signature instantiation during type inference 2014-09-09 15:17:33 -07:00
Anders Hejlsberg
1a5b421380 Merge pull request #630 from Microsoft/truncateTypesInErrors
Truncate long types in error messages
2014-09-09 13:56:56 -07:00
Anders Hejlsberg
e2c3b50ed1 Merge branch 'master' into truncateTypesInErrors
Conflicts:
	src/compiler/checker.ts
2014-09-09 13:51:08 -07:00
Sheetal Nandi
840481da3b Fix the condition for qualifying the symbol of methods and functions in the enclosing declaration
Fixes #604
2014-09-09 12:45:10 -07:00
Mohamed Hegazy
3e4c5d5b2f remove unused file 2014-09-09 12:28:25 -07:00
Mohamed Hegazy
a62e7d218d Update LKG 2014-09-09 12:26:49 -07:00
Anders Hejlsberg
aa58dcbee0 Adding noErrorTruncation compiler option 2014-09-09 12:25:03 -07:00
Mohamed Hegazy
7ce8c8faad Merge pull request #635 from Microsoft/blobConstructor
Add constructor paramters to Blob
2014-09-09 09:16:26 -07:00
Mohamed Hegazy
f61d07db69 add constructor paramters to Blob 2014-09-08 22:30:01 -07:00
Mohamed Hegazy
6fee404152 Merge pull request #602 from Microsoft/noImplicitAnyOnCast
Do not show noImplictAny errors when widening for a cast expression
2014-09-08 17:28:49 -07:00
Anders Hejlsberg
9f3d83adeb Truncate long types in error messages 2014-09-08 16:14:43 -07:00
Jason Freeman
65341816d8 Merge pull request #621 from Microsoft/specConformanceTests
Conformance coverage for spec change #589
2014-09-08 14:21:37 -07:00
Jason Freeman
5d299d4e5f Merge branch 'master' into specConformanceTests 2014-09-08 13:55:22 -07:00
Anders Hejlsberg
18c1789aa4 Merge pull request #627 from Microsoft/updateLangSpec
Updating Language Specification
2014-09-08 13:54:58 -07:00
Daniel Rosenwasser
66e509fd5f Merge pull request #626 from Microsoft/typoscript
Corrected some spelling/grammar issues.
2014-09-08 13:34:57 -07:00
Anders Hejlsberg
deef5c1cd0 Updating Language Specification 2014-09-08 13:32:51 -07:00
Daniel Rosenwasser
5edf075142 Corrected some spelling/grammar issues. 2014-09-08 13:07:45 -07:00
Mohamed Hegazy
4f21fb59a2 fix typo 2014-09-08 12:08:15 -07:00
Mohamed Hegazy
06888e86f9 Merge branch 'master' into noImplicitAnyOnCast
Conflicts:
	src/compiler/checker.ts
	tests/baselines/reference/arrayCast.errors.txt
	tests/baselines/reference/contextualTyping39.errors.txt
	tests/baselines/reference/contextualTyping41.errors.txt
	tests/baselines/reference/fuzzy.errors.txt
	tests/baselines/reference/genericTypeAssertions2.errors.txt
	tests/baselines/reference/genericTypeAssertions4.errors.txt
	tests/baselines/reference/genericTypeAssertions5.errors.txt
	tests/baselines/reference/intTypeCheck.errors.txt
	tests/baselines/reference/typeAssertions.errors.txt
2014-09-08 10:23:37 -07:00
Anders Hejlsberg
9adb893642 Merge pull request #623 from Microsoft/shadowedModuleNames
Corrected codegen to support shadowed module names.
2014-09-08 10:02:51 -07:00
Anders Hejlsberg
1e79ca40f8 Merge pull request #624 from Microsoft/updateLangSpec
Fixing a few issues in Language Specification
2014-09-07 13:43:44 -07:00
Anders Hejlsberg
760717a424 Fixing a few issues in Language Specification 2014-09-07 09:35:33 -07:00
Anders Hejlsberg
59889d871d Corrected codegen to support shadowed module names. 2014-09-06 17:40:19 -07:00
Anders Hejlsberg
2d7d491f4f Merge pull request #618 from Microsoft/typeAssertionErrors
Properly report errors for failed type assertions
2014-09-06 12:19:01 -07:00
Jason Freeman
6fb3c34681 Conformance coverage for spec change #589 2014-09-05 18:44:49 -07:00
CyrusNajmabadi
1eacacdc24 Merge pull request #620 from Microsoft/incrementalParsingBug
Fix incremental parsing bug due to non invalidating cached data in nodes...
2014-09-05 18:06:15 -07:00
Cyrus Najmabadi
aeb428e9e5 Fix incremental parsing bug due to non invalidating cached data in nodes. 2014-09-05 17:59:52 -07:00
Anders Hejlsberg
8e7be9ad98 Properly report errors for failed type assertions 2014-09-05 17:09:00 -07:00
Mohamed Hegazy
90ecf811ff Merge pull request #609 from Microsoft/HTMLElementIndexer
Add numeric indexer to HTMLElementCollection
2014-09-05 17:06:10 -07:00
Mohamed Hegazy
dd3bb9cc69 Merge branch 'master' into noImplicitAnyOnCast 2014-09-05 16:46:41 -07:00
Mohamed Hegazy
b3260653ce move getWidenedType* functions inside the getWidenedType function scope 2014-09-05 16:45:30 -07:00
Mohamed Hegazy
3b6afb8499 respond to code review remarks 2014-09-05 16:41:37 -07:00
Anders Hejlsberg
e157763d6c Merge pull request #610 from Microsoft/circularFunctionExpressions
Circular function expressions
2014-09-05 15:43:44 -07:00