Commit Graph
908 Commits
Author SHA1 Message Date
Yui T d50ce1cb47 Refactoring compiler utility-related files to use short-hand 2014-11-18 12:05:40 -08:00
Yui T 26a5e4333e Refactoring emitter using short-hand 2014-11-18 12:04:18 -08:00
Yui T 36cc705fa2 Refactoring parser/scanner using short-hand 2014-11-18 11:54:50 -08:00
Yui T 8df64293f9 Refactor using short-hand 2014-11-18 11:47:35 -08:00
Cyrus Najmabadi 886feda759 Update the new scanner to follow the new regex scanning rules. 2014-11-17 18:33:10 -08:00
Anders Hejlsberg 9f284184be Merge pull request #1180 from Microsoft/recursiveTypeComparison
Improve caching in recursive type comparisons (fixes #1170)
2014-11-17 13:11:42 -08:00
Anders Hejlsberg b99b040384 Addressing CR feedback 2014-11-17 12:13:38 -08:00
Yui T 1b66ee6f3a Merge branch 'master' into shorthandProperty
Conflicts:
	src/compiler/checker.ts
2014-11-17 11:35:02 -08:00
Anders Hejlsberg 100e1c8a77 Improve caching in recursive type comparisons (fixes #1170) 2014-11-17 10:42:53 -08:00
Dick van den Brink e7bb2e0ba7 Merge branch 'master' into warnaserror
Conflicts:
	src/compiler/diagnosticInformationMap.generated.ts
	src/compiler/diagnosticMessages.json
	src/compiler/types.ts
	src/harness/harness.ts
2014-11-16 22:02:00 +01:00
Cyrus Najmabadi ffa48152eb update comment. 2014-11-14 17:15:25 -08:00
Cyrus Najmabadi 7fc05f5017 CR feedback. 2014-11-14 17:13:00 -08:00
Cyrus Najmabadi 96613737c2 Type checker symbols must be transient. 2014-11-14 16:49:50 -08:00
Cyrus Najmabadi 9a50f41af8 More CR feedback. 2014-11-14 16:43:07 -08:00
Cyrus Najmabadi ba2e4bff10 cr feedback. 2014-11-14 16:40:11 -08:00
Cyrus Najmabadi 3c9eea2df0 Update comment. 2014-11-14 16:32:07 -08:00
Yui T 880e958d11 Fix comment 2014-11-14 16:30:03 -08:00
Cyrus Najmabadi d948510425 Function and constructor types in the syntax tree. 2014-11-14 16:23:51 -08:00
Anders Hejlsberg bdfb5697af Merge pull request #1163 from Microsoft/typeGuards
Fixes to type guards
2014-11-14 15:36:07 -08:00
Daniel Rosenwasser aec8d9621c Merge pull request #1160 from Microsoft/weDontNeedNoTemplateStringsArrayPreEs6
Default to 'unknown' for the template strings array type in pre-ES6 targets.
2014-11-14 13:07:41 -08:00
Vladimir Matveev 23e35bcfc1 Merge branch 'master' into formatting_scanner 2014-11-14 11:01:17 -08:00
Anders Hejlsberg 008e36b6ea Merge branch 'master' into typeGuards 2014-11-14 07:06:33 -08:00
Yui T 8bd7aae869 Add comment and clean up implementation on findAllReferences 2014-11-13 17:50:34 -08:00
Anders Hejlsberg 27d7cabad3 Fixes to type guards 2014-11-13 13:43:12 -08:00
Yui T a8ebdf0cbd Address code review 2014-11-13 12:02:13 -08:00
Yui T 1888f736e1 Fix emit for shotr-hand assignment for module 2014-11-13 11:33:31 -08:00
Daniel Rosenwasser 828e31b318 Baselines, using 'unknown' as a default type. 2014-11-12 18:08:16 -08:00
Daniel Rosenwasser e8ec2966a2 Removed lookup of TemplateStringsArray for non-ES6 targets.
This will enable custom ES3/ES5 lib.d.ts files that omit the TemplateStringsArray type, but don't need it anyway.
2014-11-12 17:23:00 -08:00
Daniel Rosenwasser c147507de1 Added comment. 2014-11-12 15:47:14 -08:00
Daniel Rosenwasser 32f6cf33ce Corrected token start position calculation & nodeHasTokens predicate. 2014-11-12 15:10:57 -08:00
Sheetal Nandi b1297b2b65 Instead of setting fresh value, or the value with existing one of if alias is referenced in value position
Fixes #1130
2014-11-11 23:49:57 -08:00
Sheetal Nandi 4c28e73372 All the identifiers need to be escaped to make sure compiler doesnt confuse __NonUnderscore character incorrectly
Fixes #548
2014-11-11 15:44:25 -08:00
Daniel Rosenwasser 7a5c360025 Merge pull request #1072 from Microsoft/taggedTemplates
Type checking for tagged template expressions
2014-11-11 13:54:26 -08:00
Sheetal Nandi ce4dac3ae9 Merge pull request #1124 from Microsoft/completionListAugmentedType
If we are comparing left hand side for is position of type node, it is f...
2014-11-11 13:46:13 -08:00
Daniel Rosenwasser 3113429de3 Asserting myself more. 2014-11-11 13:30:10 -08:00
Daniel Rosenwasser c22a47148e Merge branch 'master' into taggedTemplates 2014-11-11 13:16:00 -08:00
Daniel Rosenwasser 9880f935ee Asserting myself. 2014-11-11 13:15:32 -08:00
Mohamed Hegazy c3131e2903 export ReferencePathMatchResult interface as it is used by other exported functions 2014-11-10 21:42:33 -08:00
Sheetal Nandi 57af2623c6 If we are comparing left hand side for is position of type node, it is false, because it is namespace position and not type position
Fixes #837
2014-11-10 19:19:33 -08:00
Yui T 7e39622d5d Basic implementation for finding all references 2014-11-10 14:55:41 -08:00
Vladimir Matveev 8960ab9712 addressed CR feedback, added comments, dropped unused code 2014-11-10 13:30:00 -08:00
Yui T e9122b4d85 Fix get type from short-hand property assignment 2014-11-10 10:51:08 -08:00
Vladimir Matveev 89dee07bf2 merge with master 2014-11-09 23:23:49 -08:00
Dick van den Brink 96181c9c53 Removed some unused variables 2014-11-08 16:30:56 +01:00
Daniel Rosenwasser 6d353c078c Merge branch 'master' into taggedTemplates 2014-11-07 16:24:40 -08:00
Daniel Rosenwasser d99023ed98 Merge pull request #1094 from Microsoft/findAllRefsInTemplates
Corrected isExpression for templates.
2014-11-07 16:24:22 -08:00
Daniel Rosenwasser 986a0b7343 Fixed issues with incomplete calls, cleaned some code up. 2014-11-07 16:23:59 -08:00
Daniel Rosenwasser dbcb6dc01e Corrected isExpression for templates.
Fixes #1046.
2014-11-07 13:29:59 -08:00
Yui T 35facf591e Merge branch 'master' into refactorRefFilesPath 2014-11-07 10:23:31 -08:00
Sheetal Nandi 8ab038f1a3 Fixed the merge conflicts that went undetected in github 2014-11-06 18:02:29 -08:00