Commit Graph

1695 Commits

Author SHA1 Message Date
Daniel Rosenwasser
d522c88295 Merge branch 'master' into templates
Conflicts:
	src/compiler/checker.ts
	src/services/services.ts
2014-10-28 18:49:35 -07:00
Daniel Rosenwasser
b8535d339c Omit empty template tail literals. 2014-10-28 18:47:43 -07:00
Daniel Rosenwasser
aabfebd40e Fixed emit for parenthesized template expressions. 2014-10-28 18:47:29 -07:00
Daniel Rosenwasser
64097a3c6c Missed a use when fixing Debug.assert 2014-10-28 18:47:12 -07:00
Daniel Rosenwasser
d45fb7769a Renamed certain functions in the parser to more accurately reflect behavior. 2014-10-28 18:45:06 -07:00
Daniel Rosenwasser
8786d30e9d Changed Debug.assert's first parameter to a boolean. 2014-10-28 18:44:29 -07:00
Daniel Rosenwasser
4aafe1d2bc Addressed CR feedback. 2014-10-28 18:44:07 -07:00
Daniel Rosenwasser
7fad76955e Merge branch 'master' into templates 2014-10-28 18:43:43 -07:00
Daniel Rosenwasser
4ffd0b33db Merge pull request #977 from Microsoft/colectomy
Removed colons from diagnostic messages.
2014-10-28 12:42:48 -07:00
Daniel Rosenwasser
ba6855652b chainedMessage -> headMessage 2014-10-28 12:18:58 -07:00
Daniel Rosenwasser
32d22ba789 Merge branch 'master' into colectomy 2014-10-28 12:16:58 -07:00
Daniel Rosenwasser
e179e0565c Revert "Introduce .gitattributes file"
This reverts commit 218064d8b4.
2014-10-28 12:12:18 -07:00
Daniel Rosenwasser
f3526bd2c4 Revert "Introduce .editorconfig file"
This reverts commit f3b1e94d68.
2014-10-28 12:11:52 -07:00
Mohamed Hegazy
1c47e1a58b Merge pull request #952 from Microsoft/completionFixes
Remove dependency on old tree along with some fixes in completion list
2014-10-28 09:20:02 -07:00
Mohamed Hegazy
26b1f60891 Merge pull request #961 from jedmao/editorconfig
Introduce .editorconfig file
2014-10-28 09:15:12 -07:00
Mohamed Hegazy
7a38250cfb Merge pull request #962 from jedmao/gitattributes
Introduce .gitattributes file
2014-10-28 09:14:50 -07:00
Mohamed Hegazy
8d3fa047d6 Merge branch 'master' into completionFixes 2014-10-28 09:10:03 -07:00
Mohamed Hegazy
d6ac176be9 Respond to code review comments 2014-10-28 09:09:46 -07:00
Daniel Rosenwasser
6e77e2e810 Removed colons from diagnostic messages.
Also got rid of the 'terminalMessages' concept.
2014-10-28 00:48:58 -07:00
Daniel Rosenwasser
3e894520ac Merge pull request #976 from Microsoft/privatePropertiesBeingTooPrivate
Fixed findAllRefs/getOccs bug where private properties declared in the constructor were only local to the constructor.
2014-10-27 18:30:31 -07:00
Daniel Rosenwasser
e3d82b7db3 Fixed findAllRefs/getOccs bug where private properties declared in the constructor were only local to the constructor.
Fixes #975.
2014-10-27 18:08:49 -07:00
Jason Freeman
c28fb0e0fb Merge pull request #951 from Microsoft/overloadResolution
Make overload resolution more elaborate
2014-10-27 16:20:05 -07:00
Jason Freeman
d14228ed82 More PR feedback 2014-10-27 16:16:01 -07:00
Mohamed Hegazy
66ac508163 Merge branch 'master' into completionFixes
Conflicts:
	src/services/services.ts
2014-10-27 15:39:54 -07:00
Mohamed Hegazy
962c4de875 Address code review comments 2014-10-27 15:30:38 -07:00
Jason Freeman
d1079e40bf Merge branch 'master' into overloadResolution 2014-10-27 14:16:12 -07:00
Jason Freeman
962cde9fd6 Make chainedMessage, terminalMessage, and containingMessageChain optional 2014-10-27 14:15:24 -07:00
Jason Freeman
7dc86837a3 Address PR feedback 2014-10-27 14:00:43 -07:00
Anders Hejlsberg
20392de6ef Merge pull request #971 from Microsoft/fixResolveName
Fix the resolveName function
2014-10-27 06:48:30 -07:00
Anders Hejlsberg
d4673f97ab Fixing comments 2014-10-27 06:42:31 -07:00
Anders Hejlsberg
6bf0f6faa2 Fix the resolveName function 2014-10-26 18:12:52 -07:00
Jed Mao
218064d8b4 Introduce .gitattributes file 2014-10-25 01:34:23 -05:00
Jed Mao
f3b1e94d68 Introduce .editorconfig file 2014-10-25 01:27:02 -05:00
Daniel Rosenwasser
c03dc107ca Added syntactic classification for templates; also made 'spans' a NodeArray. 2014-10-24 17:14:41 -07:00
Jason Freeman
431bf9a746 Update baselines 2014-10-24 16:42:22 -07:00
Jason Freeman
bfb63df568 Merge branch 'master' into overloadResolution
Conflicts:
	src/compiler/diagnosticInformationMap.generated.ts
	src/compiler/diagnosticMessages.json
2014-10-24 16:36:42 -07:00
Jason Freeman
9865e09fb7 Report type argument inference errors on specific candidates 2014-10-24 13:51:19 -07:00
Mohamed Hegazy
290e43ba29 Merge pull request #904 from Microsoft/letAndConst
Let and const support
2014-10-24 11:26:36 -07:00
Ryan Cavanaugh
a65496fd61 Update CONTRIBUTING.md 2014-10-24 10:36:02 -07:00
Mohamed Hegazy
51e101c55e Merge branch 'master' into letAndConst 2014-10-24 10:32:21 -07:00
Mohamed Hegazy
67c78a2662 Only check for collisions with variabels and not properties 2014-10-24 10:30:40 -07:00
Mohamed Hegazy
e4a20849bb Ensure let and const declarations in labels are parsed correctelly 2014-10-24 10:14:36 -07:00
Daniel Rosenwasser
799609c8e8 Tests for tagged templates. 2014-10-23 17:31:12 -07:00
Daniel Rosenwasser
a5b77c65f6 Added tests for tagged templates. Some should fail when we do typechecking. 2014-10-23 16:57:17 -07:00
Daniel Rosenwasser
0d1a46d68c Better test coverage for templates in object literals.
These tests still need to be fixed.
2014-10-23 16:55:35 -07:00
Daniel Rosenwasser
e7096280b4 Added support for tagged template strings, updated baselines.
Still need to implement some error recovery and add tests.
2014-10-23 16:54:11 -07:00
Daniel Rosenwasser
b704f19502 Merge branch 'letAndConst' into templates
Conflicts:
	src/compiler/diagnosticInformationMap.generated.ts
	src/compiler/diagnosticMessages.json
2014-10-23 16:03:53 -07:00
Jason Freeman
05300a7efe Have inferArgumentTypes return the InferenceContext 2014-10-23 15:44:26 -07:00
Sheetal Nandi
4058518bdb Merge pull request #931 from Microsoft/newTreeBreakPoints
New tree break points
2014-10-23 15:30:45 -07:00
Mohamed Hegazy
d1858d0625 Merge branch 'master' into letAndConst 2014-10-23 15:17:39 -07:00