Commit graph

5524 commits

Author SHA1 Message Date
Cyrus Najmabadi
362320dc45 Use a singleton parser as well. 2015-04-12 14:25:19 -07:00
Cyrus Najmabadi
61951e5d94 Use a single scanner for all parsing tasks. 2015-04-12 14:02:58 -07:00
Guillaume Salles
7119165bd0 Fix issue #2677 : Labels should not get quick info 2015-04-12 16:04:32 -04:00
Mohamed Hegazy
095d11b2a9 Update LKG 2015-04-12 12:31:49 -07:00
Mohamed Hegazy
b6bb4ff67f expose text span helpers 2015-04-12 12:30:17 -07:00
Mohamed Hegazy
27c1bb8ca5 Expose getDefaultLibFileName 2015-04-12 12:12:55 -07:00
Anders Hejlsberg
e4b7cf9882 Merge branch 'master' into reducedUnionTypes
Conflicts:
	src/compiler/types.ts
	tests/baselines/reference/APISample_compile.js
	tests/baselines/reference/APISample_compile.types
	tests/baselines/reference/APISample_linter.js
	tests/baselines/reference/APISample_linter.types
	tests/baselines/reference/APISample_transform.js
	tests/baselines/reference/APISample_transform.types
	tests/baselines/reference/APISample_watcher.js
	tests/baselines/reference/APISample_watcher.types
2015-04-12 11:08:03 -07:00
Anders Hejlsberg
c91e2855ca Adding test 2015-04-12 10:52:20 -07:00
Anders Hejlsberg
b7408fa0b4 Accepting new baselines 2015-04-12 10:37:14 -07:00
Anders Hejlsberg
e8ee500539 Consistently reduce union types in property access 2015-04-12 10:35:57 -07:00
Yui
96995e705a Merge pull request #2684 from Microsoft/migrateStrictModeCheck
Migrate strict mode check
2015-04-11 21:59:12 -07:00
Yui T
63a2359d1a Merge branch 'master' into migrateStrictModeCheck 2015-04-11 21:02:56 -07:00
Yui T
a01bdcfab3 Address code review 2015-04-11 20:58:42 -07:00
Vladimir Matveev
1781ce1bd8 Merge remote-tracking branch 'origin/master' into systemModule 2015-04-11 12:31:52 -07:00
Yui T
65b8792be7 Organize test cases for strict mode 2015-04-11 12:15:47 -07:00
Yui T
3c2196bf54 Address code review 2015-04-11 12:15:22 -07:00
Vladimir Matveev
e622c8ec34 added tests 2015-04-11 08:50:11 -07:00
Vladimir Matveev
e2ba13eb17 do not emit original variable statement if it was hoisted and all variable declarations are non-initialized 2015-04-11 08:23:25 -07:00
Vladimir Matveev
a281cad492 hoist source level module declarations 2015-04-11 06:33:09 -07:00
Vladimir Matveev
442addecf5 hoist source level class declarations, fix error message 2015-04-11 06:14:19 -07:00
Vladimir Matveev
8c80792fe2 emit publish of exported values in destructuring 2015-04-11 04:58:39 -07:00
Vladimir Matveev
7bced68210 emit publish of exported values in prefix/postfix unary expressions 2015-04-11 03:59:03 -07:00
CyrusNajmabadi
1c7d8a2e21 Merge pull request #2706 from Microsoft/emitYieldStart
Emit generator functions and yield expressions in ES6.
2015-04-11 02:40:42 -07:00
Vladimir Matveev
7102b1d76a emit publish of exported values in assignment expressions 2015-04-10 20:29:20 -07:00
SaschaNaz
5543f646a0 formattingOnChainedCallbacks (passing) 2015-04-11 12:11:28 +09:00
Yui T
a60cf02715 Address CR 2015-04-10 19:00:31 -07:00
Yui T
fe7a3a5d02 Address CR 2015-04-10 18:52:37 -07:00
Ron Buckton
28b5217169 Merge pull request #2718 from Microsoft/fixEmitDecorate
Fix for __decorate emit on undecorated file following a decorated file
2015-04-10 18:23:52 -07:00
Mohamed Hegazy
5f5cdda877 Merge pull request #2692 from Microsoft/APIReviewCleanup
Api review cleanup
2015-04-10 18:09:53 -07:00
Mohamed Hegazy
6f1feffe67 Update LKG 2015-04-10 17:16:59 -07:00
Mohamed Hegazy
13ef271831 use @internal comment consistenlly 2015-04-10 16:32:02 -07:00
Yui T
8448ba7b13 Allow IdentifierName in memberExpression 2015-04-10 16:22:09 -07:00
Mohamed Hegazy
431dce7b84 Merge branch 'master' into APIReviewCleanup
Conflicts:
	src/services/outliningElementsCollector.ts
2015-04-10 16:11:03 -07:00
Ron Buckton
d87e80b65b Added baselines 2015-04-10 16:04:35 -07:00
Ron Buckton
cd6bfb169f Fix for __decorate emit on undecorated file following a decorated file 2015-04-10 15:38:10 -07:00
Mohamed Hegazy
f231d6aba8 Merge pull request #2700 from Microsoft/removeOptionalTypeOnExportDefault
Remove optional type on export default
2015-04-10 15:31:31 -07:00
Yui T
bf60eabdbb Update tests cases 2015-04-10 14:24:10 -07:00
Yui T
5bab826c6b Address issue with propertyAccessExpression and QualifiedName in TypeReference 2015-04-10 14:23:54 -07:00
Cyrus Najmabadi
9e56c61542 Don't report errors for empty generator functions with type annotations. 2015-04-10 13:47:08 -07:00
Vladimir Matveev
83fcca81a8 emit publish of exported values in variable declarations 2015-04-10 12:31:10 -07:00
Vladimir Matveev
50496ccd97 added system module kind to harness 2015-04-10 12:12:25 -07:00
Vladimir Matveev
e8fcf8fa2a initial support for system module 2015-04-10 12:10:38 -07:00
Ron Buckton
6121730875 Merge pull request #2680 from Microsoft/fixArrowBindingPattern
Add support for parsing binding patterns in arrow function parameters
2015-04-10 11:38:18 -07:00
Ron Buckton
15df45d813 Update baselines due to changes in master 2015-04-10 11:09:24 -07:00
Ron Buckton
042b96592a Merge branch 'master' into fixArrowBindingPattern 2015-04-10 09:54:13 -07:00
Ron Buckton
02d88f2968 Simpler lookahead, let the tryParse do the hard work 2015-04-10 09:53:21 -07:00
SaschaNaz
0c95b0db43 formattingOnChainedCallbacks 2015-04-10 23:00:50 +09:00
Daniel Rosenwasser
ad477c7fc9 Merge pull request #2691 from Microsoft/isRegExpWeHardlyKnewYe
Remove 'Symbol.isRegExp' and introduce 'RegExp.prototype.flags'
2015-04-10 01:51:59 -07:00
Cyrus Najmabadi
f777011fc0 Emit generator functions and yield expressions in ES6. 2015-04-09 22:57:13 -07:00
CyrusNajmabadi
6cc1091f3d Merge pull request #2705 from Microsoft/renameDocHighlightsType
Rename type.
2015-04-09 22:42:56 -07:00