Commit Graph
5904 Commits
Author SHA1 Message Date
Nathan Shively-Sanders 9e8031cfc3 Non-namespace merges override valueDeclaration
Instead of searching `declarations` for a class declaration, make the
binder and checker merge `valueDeclaration` such that non-namespace merges
always have their `valueDeclaration` win.
2015-10-09 14:19:49 -07:00
Nathan Shively-Sanders 440d01f0bd Fall back to valueDeclaration
Fall back to `valueDeclaration` in getBaseTypeNodeOfClass when no
ClassDeclaration exists.
2015-10-09 10:12:17 -07:00
Nathan Shively-Sanders 08c78fbe76 Check for ClassDeclaration in getBaseTypeNodeOfClass
Previously, it just used valueDeclaration. Now, it searches the
declarations.
2015-10-08 16:39:53 -07:00
Vladimir Matveev 75af4f70b6 transpile text as tsx if jsx option is specified 2015-10-07 10:37:28 -07:00
Ron Buckton 703af074ff Fixes some checker errors regarding async functions. Fixes #5115. 2015-10-06 16:44:48 -07:00
Ron Buckton 4d3c74fd80 Merge pull request #5137 from Microsoft/fixExportDefaultClassStatics
Fix emit for ES6 export default class with static initializers.
2015-10-06 15:55:45 -07:00
Ron Buckton f52b7cc2c5 Removed unnecessary check 2015-10-06 15:41:47 -07:00
Vladimir Matveev 1b909d80e5 remove unused function from the EmitResolver 2015-10-06 12:51:24 -07:00
Ron Buckton ab73b4f103 Fix linter warnings. 2015-10-06 12:37:10 -07:00
Mohamed Hegazy 709274dbf2 Merge pull request #4724 from denvned/patch-1
Account for path options when pointing to the current working directory
2015-10-06 12:32:11 -07:00
Ron Buckton 64b6c9f52e Fix emit for ES6 export default class with static initializers. Fixes #5136. 2015-10-06 12:02:55 -07:00
Zhengbo Li e7c2003164 Merge pull request #5041 from zhengbli/RemoveMsInternalsFromLib
Remove Microsoft specific types from lib.d.ts
2015-10-06 10:36:48 -07:00
Ryan Cavanaugh d7eaa12aad Merge pull request #5126 from RyanCavanaugh/noLibSymbolLines
Don't show lib.d.ts line numbers in symbol baselines
2015-10-06 10:00:26 -07:00
Ryan Cavanaugh 7280509058 Don't show lib.d.ts line numbers in symbol baselines 2015-10-05 16:37:45 -07:00
Mohamed Hegazy 53cff210fd Merge pull request #5103 from SaschaNaz/formatStringTemplates
Format template internal spaces
2015-10-05 16:01:10 -07:00
Anders Hejlsberg c7fdc0a6e5 Merge pull request #5099 from Microsoft/deferMemberInstantiation
Defer member instantiation
2015-10-05 12:46:49 -07:00
Wesley Wigham 28475c345d Change prologue emit location to inside module IIFEs 2015-10-05 11:22:16 -07:00
Nathan Shively-Sanders 4ecf4f4e71 Merge pull request #5086 from Microsoft/abstract-semicolon-insertion
Automatic semicolon insertion for class modifiers
2015-10-05 10:35:42 -07:00
Ryan Cavanaugh 1e3125b8ed Merge pull request #5046 from RyanCavanaugh/fix4675
Handle indirect imports of JSX elements from external modules
2015-10-05 10:28:07 -07:00
SaschaNaz c9e237c2b3 Format template internal spaces 2015-10-05 07:02:22 +09:00
Anders Hejlsberg 676a271aab Defer instantiation of members of instantiated anonymous types 2015-10-03 18:08:29 -07:00
Ron Buckton 331d26f402 Merge pull request #4741 from Microsoft/es3Decorators
Allow decorators in ES3
2015-10-02 16:22:14 -07:00
Nathan Shively-Sanders be9548ade9 Merge branch 'master' into abstract-semicolon-insertion 2015-10-02 15:46:02 -07:00
Wesley Wigham e16a14b5b3 tslint had a new release and added this rule, theirs was a little stricter 2015-10-02 15:15:39 -07:00
Nathan Shively-Sanders 04510ac157 Automatic semicolon insertion for class modifiers
This includes public, private, protected, abstract

async and declare already work this way, but it looks
like they didn't block the completion list, so I added
them to the list too.
2015-10-02 14:30:31 -07:00
Ryan Cavanaugh 19b208cec6 Merge pull request #5040 from RyanCavanaugh/fix4688
Identify JSX Spread Attributes as Expression parents
2015-10-02 08:00:32 -07:00
Ron Buckton 8a41cdeb14 Fix linter errors 2015-10-01 20:16:40 -07:00
Wesley Wigham cc95dcac1b Fix lint error that was commited
This is what happens when your merge PRs by hand and forget to run the linter. You break everyone's PRs.
2015-10-01 18:33:52 -07:00
Ron Buckton be6e43e108 Merge branch 'master' into es3Decorators 2015-10-01 16:56:25 -07:00
Mohamed Hegazy 2d78df49a4 Merge branch 'master' of https://github.com/Microsoft/TypeScript 2015-10-01 15:54:41 -07:00
Daniel Rosenwasser acef223f95 Merge pull request #5043 from Microsoft/findRefsOnVarInExtends
Correctly recognize value symbol presence of expressions in extends clauses
2015-10-01 12:36:12 -07:00
zhengbli 1860f4358e Add msapp content back, only remove the internal content 2015-10-01 10:07:11 -07:00
zhengbli de902e2c6e Remove MS specific types from lib.d.ts 2015-10-01 10:03:54 -07:00
Zhengbo Li a6ba6fa10a Merge pull request #5042 from zhengbli/FixFloat32ArrayInLib
Fix the bug turning Float32Array type to any
2015-10-01 10:02:42 -07:00
Mohamed Hegazy 7e6a27f1f7 Merge branch 'master' of https://github.com/Microsoft/TypeScript 2015-10-01 09:38:22 -07:00
Daniel Rosenwasser dfb95b8692 Merge pull request #5050 from plantain-00/issue4701
Error message should be fixed for ambient module inside namespace
2015-09-30 21:40:28 -07:00
yaoyao 2428e65ac3 change the references to the error message 2015-10-01 10:05:40 +08:00
yaoyao aa9fa90967 Error message should be fixed for ambient module inside namespace 2015-10-01 08:58:59 +08:00
Mohamed Hegazy c6260160b7 Merge branch 'master' into ShyykoSerhiy-master 2015-09-30 16:30:59 -07:00
Mohamed Hegazy 2b6d2a9f71 Merge branch 'master' of https://github.com/ShyykoSerhiy/TypeScript into ShyykoSerhiy-master
Conflicts:
	src/compiler/sys.ts
	src/compiler/tsc.ts
2015-09-30 16:30:49 -07:00
Wesley Wigham b95e1ff6d8 This is what zero linter errors feels like 2015-09-30 16:10:52 -07:00
Wesley Wigham 3fe379ce52 lint harness, disablow control flow analysis because buggy 2015-09-30 15:45:23 -07:00
Ryan Cavanaugh 590569b87d Handle indirect imports of JSX elements from external modules
Fixes #4675
2015-09-30 15:20:56 -07:00
Daniel Rosenwasser 48de0b6ff6 Account for interface extends clauses. 2015-09-30 14:30:54 -07:00
zhengbli 660058dcde Fix the bug turning Float32Array type to any 2015-09-30 13:55:29 -07:00
Daniel Rosenwasser f80fa8ea82 Use appropriate resolution meaning. 2015-09-30 13:50:29 -07:00
Ryan Cavanaugh 3bb66a130f JSX Spread Attributes are expression parents
Fixes #4688
2015-09-30 13:39:40 -07:00
Anders Hejlsberg cbe2f3df64 Merge pull request #4910 from Microsoft/polymorphicThisType
Polymorphic 'this' type
2015-09-30 13:18:33 -07:00
Ryan Cavanaugh a4db4be4b6 Merge pull request #5019 from RyanCavanaugh/fix4731
Issue correct completions in 'as' operator
2015-09-30 13:11:09 -07:00
Vladimir Matveev 87825ee11b Merge pull request #5024 from Microsoft/importsInAmbientModules
collect imports and exports in ambient external modules
2015-09-29 17:02:07 -07:00