Commit graph

5080 commits

Author SHA1 Message Date
Mohamed Hegazy d71632aa38 Check for omitted expressions when checking const and let declaration names 2015-04-06 15:32:22 -07:00
Mohamed Hegazy c53b0a5016 Merge pull request #2599 from Microsoft/APISamples
Update API samples and fix test issues
2015-04-06 13:51:07 -07:00
Mohamed Hegazy 1d5d10a111 add comment 2015-04-06 13:38:37 -07:00
Mohamed Hegazy 29fe9f560f Merge branch 'master' into APISamples
Conflicts:
	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-06 13:38:16 -07:00
Ron Buckton e195d89fad Merge pull request #2589 from Microsoft/decorators_types
Experimental support for decorator type metadata. 
NOTE: Requires a polyfill for `Reflect.metadata` which has not yet been considered by TC39 for ES7.
2015-04-06 12:50:18 -07:00
Ron Buckton e1204a9cc2 Merge pull request #2635 from Microsoft/fixParameterDecoratorTyping
Fix for #2249
2015-04-06 12:45:14 -07:00
Ron Buckton 1bab2339a3 Updated baselines 2015-04-06 11:13:02 -07:00
Ron Buckton 1a1813363e Merge branch 'master' into decorators_types 2015-04-06 11:06:38 -07:00
Ron Buckton 9dfb724536 Fix for #2249 2015-04-06 10:52:31 -07:00
Ron Buckton 98c56ae9a8 PR feedback 2015-04-06 10:42:58 -07:00
Yui 5e7343f573 Merge pull request #2596 from Microsoft/parseClassInStrictMode
Parse class in strict mode
2015-04-03 18:58:13 -07:00
Yui T 09d037fb6f Address code review 2015-04-03 17:59:40 -07:00
Yui T 4824e966b2 Update baseline 2015-04-03 17:35:42 -07:00
Yui T 742f65c80b Merge branch 'master' into parseClassInStrictMode
Conflicts:
	src/compiler/diagnosticInformationMap.generated.ts
	src/compiler/diagnosticMessages.json
2015-04-03 17:23:02 -07:00
CyrusNajmabadi d56f2f62a8 Merge pull request #2603 from Microsoft/staticClassProps
Add support for emitting static properties in class expressions in ES6.
2015-04-03 14:03:54 -07:00
Cyrus Najmabadi 8537232d32 Add decorator test for a decorator on a class expression. 2015-04-03 13:04:56 -07:00
Cyrus Najmabadi be26d417a3 Add additional tests. 2015-04-02 17:50:11 -07:00
Cyrus Najmabadi 7562a34ae8 Add support for emitting static properties in class expressions in ES6. 2015-04-02 17:43:41 -07:00
Yui T aef37f1e41 Address code review: have more explicit error 2015-04-02 17:42:24 -07:00
Cyrus Najmabadi 105936f198 Break out acquisition of class properties vs. emitting them. 2015-04-02 17:02:26 -07:00
Mohamed Hegazy facbe843d1 Merge branch 'master' into APISamples
Conflicts:
	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_linter.types.pull
	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-02 16:45:44 -07:00
Mohamed Hegazy 86f4040abb Remove typescript.d.ts from baslines of APISample tests 2015-04-02 16:39:10 -07:00
Paul van Brenk 65cbd91667 Merge pull request #2597 from Microsoft/spelling
Spelling
2015-04-02 16:31:09 -07:00
Mohamed Hegazy 8ceebaa985 Update APISample tests for 1.5-alpha release 2015-04-02 15:45:52 -07:00
Paul van Brenk 548e33c663 Merge branch 'master' into spelling 2015-04-02 15:37:37 -07:00
Paul van Brenk 0bf65e4c67 Fix annoying spellin errors. 2015-04-02 15:36:45 -07:00
CyrusNajmabadi 45412f69c0 Merge pull request #2571 from Microsoft/JSLS
Add preliminary support for editing JavaScript files using the TS Language Service.
2015-04-02 15:33:05 -07:00
Ron Buckton 9a590dbbe5 PR feedback 2015-04-02 15:22:53 -07:00
Cyrus Najmabadi 5ecfafd32b PR feedback. 2015-04-02 15:14:41 -07:00
Cyrus Najmabadi 0f079632b9 PR feedback. 2015-04-02 14:58:43 -07:00
Cyrus Najmabadi 6f250703ff Merge branch 'master' into JSLS
Conflicts:
	src/services/services.ts
2015-04-02 14:22:16 -07:00
CyrusNajmabadi 35d8536c75 Merge pull request #2588 from Microsoft/classExpr
Class declarations should be block scoped.
2015-04-02 14:13:25 -07:00
Cyrus Najmabadi d048d7d3d2 Fix tests. 2015-04-02 13:59:53 -07:00
Yui T 696e6a30fc Update test and baseliens from parsing classLikeDeclaration in strict mode 2015-04-02 13:41:07 -07:00
Yui T 64427a9df1 Remove checking for scriptTarget before setting parsing context for classLikeDeclaration 2015-04-02 13:41:03 -07:00
Cyrus Najmabadi 2eddf310dc Fix error spans for classes. 2015-04-02 13:33:55 -07:00
CyrusNajmabadi feabcd044b Merge pull request #2522 from Microsoft/visitWorkaround
Use a function declaration vs a function expression to help deal with a reported Atom+IO.js issue.
2015-04-02 13:30:43 -07:00
Ron Buckton f15ff32d5c Fix for #2561 2015-04-02 12:05:56 -07:00
Ron Buckton d9078e9eaa Updated baseline 2015-04-02 11:32:26 -07:00
Mohamed Hegazy 9e4c9f923f Merge pull request #2570 from Microsoft/versionCacheUnitTest
Version cache unit test
2015-04-02 09:27:44 -07:00
Ron Buckton 5c440384ba Added __param helper for parameter decorators and cleaned up __decorate and __metadata 2015-04-01 17:58:28 -07:00
unknown 189482e730 Produce a name for anonymous class expressions when we perform downlevel emit. 2015-04-01 17:28:59 -07:00
unknown ba8be9eef4 Support classes without names in our AST. Report any issues with this at 'check' time. 2015-04-01 17:20:20 -07:00
unknown 22a87fb9ca Class declarations should be block scoped. 2015-04-01 16:24:51 -07:00
Ron Buckton c804f5b035 Fix for checking type nodes with separate compilation, removed duplicate functions due to merge conflict 2015-04-01 14:00:20 -07:00
Ron Buckton 98afb9254d Cleanup emit for type metadata for #2577 2015-04-01 13:56:23 -07:00
Ron Buckton 8a7fa55251 Fix merge conflict 2015-04-01 13:52:20 -07:00
Daniel Rosenwasser 490dfef41b Merge pull request #2485 from Microsoft/transitiveExports
Fix completion lists for transitive exports
2015-04-01 13:50:29 -07:00
Ron Buckton c5f49deb56 Minor emit cleanup 2015-04-01 13:49:13 -07:00
Ron Buckton ce5910edd3 Updated baselines 2015-04-01 13:47:06 -07:00