Commit Graph
4257 Commits
Author SHA1 Message Date
Jason Freeman 4ccf088734 Don't try to strip parentheses when emitting synthesized parenthesized expressions 2015-06-03 17:22:11 -07:00
Jason Freeman 22cc3a7d84 Add hopefully helpful comment 2015-06-03 13:36:50 -07:00
Jason Freeman 46da6678ad Return expressions always need to be type checked 2015-06-03 13:36:49 -07:00
Vladimir Matveev 86d9398a92 clean hostCache to avoid extending lifetime of script snapshots 2015-06-03 10:29:32 -07:00
Mohamed Hegazy c83054cd4b Merge branch 'release-1.5' into filterTranspileDiagnostics 2015-06-02 18:01:05 -07:00
Daniel Rosenwasser d1b3ac7c12 Merge pull request #3288 from Microsoft/fixResolutionForFuncExprsClassExprsAndArguments
Fix resolution of named function & class expressions as well as 'arguments'
2015-06-02 12:57:05 -07:00
Ron Buckton 62ba36908b Added experimentalDecorators flag 2015-06-01 15:01:24 -07:00
Daniel Rosenwasser 644dbf230f Don't use 'Value' or 'Type' as they have overlap. Instead test for the precice meaning. 2015-05-27 16:03:04 -07:00
Daniel Rosenwasser 4088bc099c Only resolve 'arguments' and function/class expression names if the meaning permits it. 2015-05-27 15:04:34 -07:00
Mohamed Hegazy 2cbe14e131 Respond to code review comments 2015-05-27 10:20:01 -07:00
Mohamed Hegazy e7eef830e1 Fix #3245: ensure transpile diagnostics only include syntactic and compiler options diagnostics 2015-05-26 20:18:13 -07:00
Paul van Brenk c3a9390935 Merge pull request #3233 from Microsoft/tsconfigBug
Fix issue in the parsing of tsConfig file and fix errors in a couple of test cases when we switched to isolatedModules from separateCompilation.
2015-05-20 12:26:07 -07:00
Ron Buckton 16d8d9eb02 Fix for #2971, adds missing logic in checkFunctionExpressionBodies 2015-05-20 10:23:24 -07:00
Paul van Brenk 635c703872 Fix issue in the parsing of tsConfig file, this was fixed in master before, but never ported.
The realizeDiagnosticS function already returns an array, no need to wrap again. The realizeDiagnostic (no S) function returns a single diagnostic.
2015-05-19 18:07:21 -07:00
Paul van Brenk 3853489628 Update version to 1.5.3 for the VS 2015 release 2015-05-19 16:25:12 -07:00
Mohamed Hegazy 5ea2cea95d Merge pull request #3208 from Microsoft/updateSingleCompilationFlagName
Update singleCompilation flag name to isolatedModules
2015-05-19 13:54:49 -07:00
Vladimir Matveev 91f69d7a02 Merge pull request #3226 from Microsoft/port-3183
Port PR 3183 into release 1.5
2015-05-19 11:53:16 -07:00
Vladimir Matveev b5c4d3f2c6 Merge pull request #3225 from Microsoft/port-3131
Port PR 3131 into release 1.5
2015-05-19 11:42:48 -07:00
Vladimir Matveev 1f35f194d2 use textSpanEnd instead of handrolled version 2015-05-19 11:12:53 -07:00
Vladimir Matveev 845820dfe9 addressed PR feedback 2015-05-19 11:12:42 -07:00
Vladimir Matveev 0b9dd9e239 during file update request only changed portion of the text from the host 2015-05-19 11:12:25 -07:00
Vladimir Matveev 2252e3045c add optional 'getProjectVersion' method to perform fast up-to-date checks 2015-05-19 11:09:45 -07:00
Vladimir Matveev fd5dfb63af program should store file names with normalized slashes 2015-05-19 11:07:52 -07:00
Vladimir Matveev eaee9ec600 Merge pull request #3223 from Microsoft/port-3109
Port PR 3109 into release 1.5
2015-05-19 11:03:46 -07:00
Vladimir Matveev ecd6a7a226 Merge pull request #3222 from Microsoft/port-3110
Port PR 3110 into release 1.5
2015-05-19 11:03:36 -07:00
Vladimir Matveev 409dddc2f3 do not hoist ambient declarations 2015-05-19 10:31:09 -07:00
Vladimir Matveev c828bcb0c7 addressed PR feedback 2015-05-19 10:28:40 -07:00
Vladimir Matveev 546330ed7d correct typos 2015-05-19 10:28:20 -07:00
Vladimir Matveev 87ed20bd57 system: fix emit for exports of non-top level entities, fix emit for enums 2015-05-19 10:27:56 -07:00
Vladimir Matveev 2a1df727de addressed PR feedback 2015-05-19 10:24:50 -07:00
Vladimir Matveev 6573578299 handle triple slashes in url schema 'file' correctly 2015-05-19 10:24:33 -07:00
Anders Hejlsberg de8b2fabb9 Optimize spread to not generate x.slice() when x is an array literal 2015-05-18 22:56:23 -07:00
Anders Hejlsberg f5bcaa3bf8 Emit [...a] as a.slice() to ensure a is copied 2015-05-18 22:55:15 -07:00
Mohamed Hegazy 1da04ba8f4 Change flag --singleCompilation to --isolatedModules 2015-05-18 21:49:41 -07:00
Jason Freeman 26f73d4dc8 Add a comment in getTypeOfAlias 2015-05-14 13:20:29 -07:00
Jason Freeman 8922a09039 Only call getTypeOfSymbol recursively if it's a value 2015-05-13 17:45:09 -07:00
Jason Freeman a8214edcce Merge branch 'harnessCompilerOptions' into release-1.5 2015-05-08 14:53:01 -07:00
Jason Freeman 65b7f53b20 Merge pull request #3093 from Microsoft/harnessCompilerOptions
Make boolean compiler options in harness true only if they say 'true'
2015-05-08 14:06:52 -07:00
CyrusNajmabadi 79ec3ec5a3 Merge pull request #3092 from Microsoft/classificationLoop1.5
Prevent infinite loop when classifying.
2015-05-08 13:59:49 -07:00
Jason Freeman 0401553810 Type check all files when emitting a file under -out 2015-05-08 13:58:20 -07:00
Jason Freeman b6979d80dc Make boolean compiler options in harness true only if they say 'true' 2015-05-08 13:43:13 -07:00
Cyrus Najmabadi a8d25c82ac Prevent infinite loop when classifying. 2015-05-08 13:10:17 -07:00
Dirk Baeumer 4027166d1e Revert "Format on type deletes valid text"
This reverts commit 67439b6b1c.
2015-05-08 11:37:49 +02:00
Dirk Baeumer 67439b6b1c Format on type deletes valid text 2015-05-08 11:28:40 +02:00
Jason Freeman 7a92282af3 Merge branch 'release-1.5' of https://github.com/Microsoft/TypeScript into removeSubtypesRecursion 2015-05-07 15:08:29 -07:00
Jason Freeman bb7f617e72 PR feedback and another test 2015-05-07 14:35:58 -07:00
Mohamed Hegazy ebb5a0d1d0 Merge branch 'master' into release-1.5 2015-05-07 12:31:04 -07:00
Jason Freeman d8ef7b612a Make removeSubtypes resilient to reentry 2015-05-07 11:39:28 -07:00
Mohamed Hegazy 69f94cde8e Merge branch 'master' into refactorNarrowTypeByInstanceOf 2015-05-07 11:27:42 -07:00
Mohamed Hegazy 4381d1655d Add new line 2015-05-07 11:27:38 -07:00