Commit Graph
2776 Commits
Author SHA1 Message Date
Anders Hejlsberg db30e5745b Removing unnecessary logic 2015-05-30 09:27:06 -07:00
Anders Hejlsberg 3f99b74935 Display nested generic types as f<A>.g<B>.C<X, Y> 2015-05-30 09:17:53 -07:00
Anders Hejlsberg 26b955a4ac Addressing more CR feedback 2015-05-29 08:59:38 -07:00
Anders Hejlsberg b28f74ec20 Adding a few more comments 2015-05-26 16:48:27 -07:00
Anders Hejlsberg 50ebc2bf8a Addressing CR feedback 2015-05-26 16:38:17 -07:00
Anders Hejlsberg f957427c74 Local types not in scope in parameter lists and return types 2015-05-26 11:49:49 -07:00
Anders Hejlsberg e053cb8351 Adding comments 2015-05-24 17:48:10 -07:00
Anders Hejlsberg 10e940ad55 Support local generic types within generic classes and functions 2015-05-24 16:02:28 -07:00
Anders Hejlsberg cf40696040 Validate that only module level declarations have modifiers 2015-05-23 16:51:20 -07:00
Anders Hejlsberg df9378e2d3 Allow local interface, type alias, and enum declarations 2015-05-23 16:50:28 -07:00
Anders Hejlsberg 375516e6dc Consistent formatting of optional argument comments 2015-05-23 11:43:34 -07:00
Anders Hejlsberg af8aefd467 Single function to parse statements and module elements 2015-05-23 11:41:31 -07:00
Ron Buckton d080f47003 Fix for #2971, adds missing logic in checkFunctionExpressionBodies 2015-05-19 16:17:12 -07:00
Yui T 67c27ee766 Remove check for declare modifier on interface 2015-05-18 18:17:55 -07:00
Jason Freeman 5bea6a9762 Merge pull request #3066 from tinganho/newWithSpread
New with spread
2015-05-18 10:23:30 -07:00
Tingan Ho ccd3de33f3 Combining else blocks 2015-05-17 09:27:20 +08:00
Tingan Ho 78a36c0cee Fixes concat style 2015-05-16 16:42:49 +08:00
Daniel Rosenwasser bd2139694a Added change to omit comments for variable statements when appropriate. 2015-05-15 16:32:11 -07:00
Anders Hejlsberg e3812ff8f2 Merge pull request #3157 from Microsoft/fixUnionReduction
Fix infinite recursion in union type reduction
2015-05-15 11:19:32 -07:00
Anders Hejlsberg 194680f179 Addressing CR feedback 2015-05-15 10:24:24 -07:00
Vladimir Matveev 68a4deed28 Merge pull request #3144 from Microsoft/fixRootPrefix
handle triple slashes in url schema 'file' correctly
2015-05-15 08:54:51 -07:00
Vladimir Matveev 8582d80459 addressed PR feedback 2015-05-15 00:42:04 -07:00
Jason Freeman 28c9ff1d84 Merge pull request #3175 from Microsoft/release-1.5
Merge release-1.5 into master
2015-05-15 00:07:24 -07:00
Tingan Ho e9f8a6f701 Renamed alwaysCopy to needsUniqueCopy 2015-05-15 09:18:24 +08:00
Tingan Ho fb63aead59 Adds alwaysCopy argument 2015-05-15 08:56:24 +08:00
Tingan Ho b88d5422d2 Adds an always emit of pair of parens in spread syntax in new expression in ES5 2015-05-15 08:38:45 +08:00
Tingan Ho 1be34f191e Changes to emitCallTarget 2015-05-15 08:38:45 +08:00
Tingan Ho d13081685b Adds spread syntax in new expression in ES5 2015-05-15 08:38:44 +08:00
Jason Freeman 26f73d4dc8 Add a comment in getTypeOfAlias 2015-05-14 13:20:29 -07:00
Daniel Rosenwasser ce98da3b27 Merge pull request #3085 from tinganho/nonInitExport
No emit on non initialized exports
2015-05-13 18:42:21 -07:00
Jason Freeman 8922a09039 Only call getTypeOfSymbol recursively if it's a value 2015-05-13 17:45:09 -07:00
Anders Hejlsberg ec18bd0816 Removing stack from removeSubtypes method 2015-05-13 16:49:51 -07:00
Anders Hejlsberg a8732d756a Merge branch 'master' into fixUnionReduction
Conflicts:
	tests/baselines/reference/unionTypeWithRecursiveSubtypeReduction2.errors.txt
	tests/baselines/reference/unionTypeWithRecursiveSubtypeReduction2.js
	tests/cases/compiler/unionTypeWithRecursiveSubtypeReduction2.ts
2015-05-13 16:35:03 -07:00
Jason Freeman d5a9affac4 Merge branch 'release-1.5' 2015-05-13 15:43:27 -07:00
Anders Hejlsberg 99ba94e577 Add circularity check to getReducedTypeOfUnionType 2015-05-13 15:26:25 -07:00
Vladimir Matveev 71709be6d2 handle triple slashes in url schema 'file' correctly 2015-05-12 22:59:29 -07:00
Tingan Ho e7fe5d78a3 Adds non emit on non-initialized export 2015-05-13 10:58:12 +08:00
Anders Hejlsberg 00ad4d77bf Merge pull request #3137 from Microsoft/copySpreadArray
Ensure spread always copies array
2015-05-12 17:19:47 -07:00
Anders Hejlsberg 36290537c3 Optimize spread to not generate x.slice() when x is an array literal 2015-05-12 16:53:53 -07:00
Dan Quirk e42a39fada Merge pull request #3135 from Microsoft/noEmitOnErrorDescriptionUpdate
Update help description for noEmitOnError
2015-05-12 16:26:40 -07:00
Vladimir Matveev 907249699a Merge pull request #3110 from Microsoft/emitModuleMemberInSystem
system: fix emit for enums and exported non-top level items
2015-05-12 16:22:13 -07:00
Anders Hejlsberg c4b6e64ca6 Emit [...a] as a.slice() to ensure a is copied 2015-05-12 15:49:41 -07:00
Dan Quirk 05f753918c Update help description for noEmitOnError 2015-05-12 14:31:38 -07:00
Daniel Rosenwasser 300cb8d9f2 Merge pull request #3121 from Microsoft/consistent-sourceMap-naming
Consistent usage of 'sourceMap' in diagnostics
2015-05-12 11:48:49 -07:00
Jason Freeman 18c65da36a Merge pull request #3116 from Microsoft/contextualModifier
Remove nextTokenCanFollowContextualModifier
2015-05-12 01:14:55 -07:00
Vladimir Matveev f8c10ff115 Merge pull request #3117 from Microsoft/normalizedSlashesInFilenames
program should store file names with normalized slashes
2015-05-11 16:07:08 -07:00
Daniel Rosenwasser 4cd0127822 sourcemap -> sourceMap 2015-05-11 14:53:18 -07:00
Vladimir Matveev 714b39a511 addressed PR feedback 2015-05-11 14:17:34 -07:00
Vladimir Matveev 947d4a29c2 program should store file names with normalized slashes 2015-05-11 14:01:46 -07:00
Jason Freeman 029fbb0d4f Remove nextTokenCanFollowContextualModifier 2015-05-11 13:27:07 -07:00