5147 Commits

Author SHA1 Message Date
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
Yui T
33d6a81a35 update property in Identifier 2015-04-09 16:50:43 -07:00
Yui T
39f7247004 Add more tests 2015-04-09 15:59:49 -07:00
Yui T
8adac94896 Better recovery when running into modifier 2015-04-09 15:59:37 -07:00
Yui T
8771212d58 Remove incorrect check of module declartion 2015-04-09 15:58:56 -07:00
Yui T
e91ef844ed Address code review; better error recovering 2015-04-09 14:49:47 -07:00
Yui T
4b7d2f2411 Address code review 2015-04-09 14:46:02 -07:00
Yui T
1246dca703 Add comment 2015-04-08 23:54:42 -07:00
Yui T
3a7384a95e Update error code 2015-04-08 23:39:54 -07:00
Yui T
111a297584 Check for import, import equal, module 2015-04-08 22:07:12 -07:00
Yui T
8ad9c0bee7 Add more test for import, import equal, module 2015-04-08 22:07:09 -07:00
Yui T
9d29629662 Remove old tests 2015-04-08 22:07:06 -07:00
Yui T
fb9009f741 Completely remove check strict mode from parser 2015-04-08 22:07:02 -07:00
Yui T
958f7b8202 Add more test to cover strict mode code 2015-04-08 22:06:59 -07:00
Yui T
4f0a0481f6 Update tests 2015-04-08 22:06:55 -07:00
Yui T
c93fb35c53 Move strict mode check into TypeChecker 2015-04-08 22:06:51 -07:00
Daniel Rosenwasser
4eb8c738ee Merge pull request #2666 from Microsoft/occurrencesOnServer
Support getOccurrences on the TS Server
2015-04-08 18:11:50 -07:00
Daniel Rosenwasser
180f17d088 Destructure arguments at dispatched calls. 2015-04-08 17:02:42 -07:00
Jason Freeman
21a5611839 Merge pull request #2498 from Microsoft/iteratorSpreadDestructure
Support spreading and destructuring of iterators in ES6
2015-04-08 16:58:56 -07:00
Jason Freeman
846c225297 Update baselines for preserving newlines 2015-04-08 16:41:56 -07:00
Jason Freeman
d459c59028 Merge branch 'master' of https://github.com/Microsoft/TypeScript into iteratorSpreadDestructure 2015-04-08 16:14:24 -07:00
Ron Buckton
bbd7142ba9 Merge pull request #2662 from Microsoft/fixDecoratorEmitForComputedProperties
Fixes computed name caching for decorators
2015-04-08 15:46:36 -07:00
Ron Buckton
5f6c768703 Merge branch 'master' into fixDecoratorEmitForComputedProperties 2015-04-08 15:30:21 -07:00
Ron Buckton
3702568916 Fix for #2619 2015-04-08 15:27:41 -07:00
Daniel Rosenwasser
927231bdcf Merge pull request #2124 from Microsoft/unrewrite
Revert ES3/ES5 downlevel computed property emit logic to not use tree rewriting
2015-04-08 11:45:37 -07:00
Daniel Rosenwasser
12ccdb63db Apparently our server tests can't handle negative tests. 2015-04-08 01:19:45 -07:00
Daniel Rosenwasser
81d62cf57d Fixed 'isWriteAccess' check. 2015-04-08 01:09:54 -07:00
Daniel Rosenwasser
d8d494d4da *Actually dispatched* on the logic. 2015-04-08 00:41:12 -07:00
Daniel Rosenwasser
93bb224545 Actually implemented the session-side logic. 2015-04-08 00:35:34 -07:00
Daniel Rosenwasser
a6788d22ef Added occurrences tests. 2015-04-07 23:53:47 -07:00
Daniel Rosenwasser
de0347fa0f Rename tests. 2015-04-07 23:50:26 -07:00
Daniel Rosenwasser
6b997487ee Fixed /// <reference 2015-04-07 23:34:45 -07:00
Daniel Rosenwasser
5b6c65ffe0 Added support for getOccurrences to the server. 2015-04-07 23:31:09 -07:00
Ron Buckton
68b38b3e6a Merge pull request #2658 from Microsoft/fixDecoratorBindingForSuperThis
Fixes #2601, incorrect resolution of this/super
2015-04-07 19:10:03 -07:00
Ron Buckton
e9911a5e17 Tests and baselines 2015-04-07 17:43:10 -07:00
Steve Lucco
de2e1455bb Merge pull request #2591 from Microsoft/serverAddExitMessage
Add an exit message for the server.
2015-04-07 16:00:48 -07:00
Ron Buckton
627c7f4211 Fix for #2619 2015-04-07 13:17:57 -07:00
Ron Buckton
4ff87b71a4 Fixes #2601, incorrect resolution of this/super 2015-04-07 11:42:08 -07:00
Mohamed Hegazy
863f0b6180 Merge pull request #2643 from Microsoft/checkForOmittedExpression
Check for omitted expressions when checking const and let declaration names
2015-04-06 16:42:51 -07:00
Mohamed Hegazy
238a33daa0 Rename test case 2015-04-06 16:24:55 -07:00
Mohamed Hegazy
189f07ae7f Merge pull request #2642 from Microsoft/getExportsForModuleNullCheck
Add null check when querying for exported from a module
2015-04-06 16:16:08 -07:00
Mohamed Hegazy
cf86d3e912 Merge pull request #2640 from Microsoft/systemDependentLineEndings
Use sys.newLine in transpile when possible
2015-04-06 15:41:14 -07:00
Mohamed Hegazy
d71632aa38 Check for omitted expressions when checking const and let declaration names 2015-04-06 15:32:22 -07:00
Mohamed Hegazy
3ca76ca53b Add null check when querying for exports from a module 2015-04-06 14:54:22 -07:00
Daniel Rosenwasser
ffae189e89 Merge branch 'master' into unrewrite
Conflicts:
	src/compiler/emitter.ts
	tests/baselines/reference/ES5SymbolProperty1.js
	tests/baselines/reference/FunctionDeclaration8_es6.js
	tests/baselines/reference/FunctionDeclaration9_es6.js
	tests/baselines/reference/FunctionPropertyAssignments5_es6.js
	tests/baselines/reference/computedPropertyNames10_ES5.js
	tests/baselines/reference/computedPropertyNames11_ES5.js
	tests/baselines/reference/computedPropertyNames18_ES5.js
	tests/baselines/reference/computedPropertyNames19_ES5.js
	tests/baselines/reference/computedPropertyNames1_ES5.js
	tests/baselines/reference/computedPropertyNames20_ES5.js
	tests/baselines/reference/computedPropertyNames22_ES5.js
	tests/baselines/reference/computedPropertyNames23_ES5.js
	tests/baselines/reference/computedPropertyNames25_ES5.js
	tests/baselines/reference/computedPropertyNames26_ES5.js
	tests/baselines/reference/computedPropertyNames28_ES5.js
	tests/baselines/reference/computedPropertyNames29_ES5.js
	tests/baselines/reference/computedPropertyNames30_ES5.js
	tests/baselines/reference/computedPropertyNames31_ES5.js
	tests/baselines/reference/computedPropertyNames33_ES5.js
	tests/baselines/reference/computedPropertyNames34_ES5.js
	tests/baselines/reference/computedPropertyNames46_ES5.js
	tests/baselines/reference/computedPropertyNames47_ES5.js
	tests/baselines/reference/computedPropertyNames48_ES5.js
	tests/baselines/reference/computedPropertyNames49_ES5.js
	tests/baselines/reference/computedPropertyNames4_ES5.js
	tests/baselines/reference/computedPropertyNames50_ES5.js
	tests/baselines/reference/computedPropertyNames5_ES5.js
	tests/baselines/reference/computedPropertyNames6_ES5.js
	tests/baselines/reference/computedPropertyNames7_ES5.js
	tests/baselines/reference/computedPropertyNames8_ES5.js
	tests/baselines/reference/computedPropertyNames9_ES5.js
	tests/baselines/reference/computedPropertyNamesContextualType10_ES5.js
	tests/baselines/reference/computedPropertyNamesContextualType1_ES5.js
	tests/baselines/reference/computedPropertyNamesContextualType2_ES5.js
	tests/baselines/reference/computedPropertyNamesContextualType3_ES5.js
	tests/baselines/reference/computedPropertyNamesContextualType4_ES5.js
	tests/baselines/reference/computedPropertyNamesContextualType5_ES5.js
	tests/baselines/reference/computedPropertyNamesContextualType6_ES5.js
	tests/baselines/reference/computedPropertyNamesContextualType7_ES5.js
	tests/baselines/reference/computedPropertyNamesContextualType8_ES5.js
	tests/baselines/reference/computedPropertyNamesContextualType9_ES5.js
	tests/baselines/reference/computedPropertyNamesDeclarationEmit5_ES5.js
	tests/baselines/reference/computedPropertyNamesSourceMap2_ES5.js
	tests/baselines/reference/computedPropertyNamesSourceMap2_ES5.js.map
	tests/baselines/reference/computedPropertyNamesSourceMap2_ES5.sourcemap.txt
	tests/baselines/reference/parserES5ComputedPropertyName2.js
	tests/baselines/reference/parserES5ComputedPropertyName3.js
	tests/baselines/reference/parserES5ComputedPropertyName4.js
	tests/baselines/reference/privateIndexer2.js
2015-04-06 14:19:28 -07:00
Mohamed Hegazy
ccb562385d Use sys.newLine in transpile when possibel 2015-04-06 14:05:44 -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