33073 Commits

Author SHA1 Message Date
Daniel Rosenwasser
5e7e5c5f51 Addressed CR feedback. 2014-09-12 13:07:57 -07:00
Yui T
0b06ddcc9a Fix getEmitOutput to only output one file except when 'out' flag is specified. Add testcases 2014-09-12 12:57:00 -07:00
Anders Hejlsberg
b805037cf2 Improved error messages 2014-09-12 10:23:31 -07:00
Anders Hejlsberg
74536cc6ed Report circular type inference errors with -noImplicitAny 2014-09-12 07:28:49 -07:00
Vladimir Matveev
ddbe031a8b use actual indentation if possible 2014-09-12 00:26:46 -07:00
Vladimir Matveev
d119de8227 added support for smart indentation in the middle of list items, updated test baselines 2014-09-11 19:23:57 -07:00
Vladimir Matveev
e9227d656d added support for smart indentation in the middle of list items, updated test baselines 2014-09-11 17:26:05 -07:00
Vladimir Matveev
9a3462a161 added handling for smart indentation in the beginning of list items, updated test baselines. TODO: smart indentation in the middle of list items (2 failing tests) 2014-09-11 16:17:31 -07:00
Daniel Rosenwasser
ee86f8b711 Harness now prints category and code when running tests. 2014-09-11 16:11:08 -07:00
Daniel Rosenwasser
96e5bd26c3 Fixed bug where function type literals may omit their '=>'. 2014-09-11 16:04:07 -07:00
Daniel Rosenwasser
f3f3994f25 Added tests. 2014-09-11 14:52:14 -07:00
Sheetal Nandi
813f0e75e2 Build the declaration files generated in the rwc run to make sure there arent any errors 2014-09-11 14:32:35 -07:00
Anders Hejlsberg
b61c722eec Merge pull request #649 from Microsoft/propertyAssignmentWidening
Fix widening in object literal property assignments
2014-09-11 13:10:08 -07:00
Vladimir Matveev
563b92cdce update test baselines 2014-09-11 12:04:49 -07:00
Daniel Rosenwasser
86691f0883 Merge pull request #653 from Microsoft/getOccurrences
getOccurrencesAtPosition Implemented
2014-09-11 12:02:06 -07:00
Daniel Rosenwasser
0af26bcb8b Merge branch 'master' into getOccurrences 2014-09-11 11:11:00 -07:00
Daniel Rosenwasser
480aac9ede Merge branch 'master' into getOccurrences 2014-09-11 11:04:01 -07:00
Daniel Rosenwasser
6ec9786088 Merge pull request #639 from Microsoft/getOccurrencesConstructor
Implemented getOccurrences for 'constructor' keywords.
2014-09-11 11:03:36 -07:00
Jason Freeman
2ba3ae9225 Update package.json 2014-09-11 10:39:57 -07:00
Mohamed Hegazy
9093bac9de Update LKG 2014-09-11 10:29:43 -07:00
Mohamed Hegazy
1f2a2d2ae3 Simple fixes for the tests 2014-09-11 09:23:29 -07:00
Vladimir Matveev
641e659ffd initial revision of SmartIndenter (TODO: indentation in list items) 2014-09-11 00:35:03 -07:00
Vladimir Matveev
24c40bb4bc added optional 'sourceFile' argument to methods of Node to avoid unnecesary tree walk 2014-09-10 23:13:41 -07:00
Daniel Rosenwasser
1e8772c7a5 Merge branch 'getOccurrences' into getOccurrencesLoopBreakContinue
Conflicts:
	src/services/services.ts
2014-09-10 19:19:53 -07:00
Daniel Rosenwasser
efed1f9acd Simplified ownership code for continue/break statements. 2014-09-10 19:02:50 -07:00
Daniel Rosenwasser
dae34875b4 Minor CR feedback addressed. 2014-09-10 18:59:12 -07:00
Jason Freeman
7439ee35ba Merge pull request #651 from Microsoft/testForDiagnosticBounds
Add asserts for bounds on diagnostics
2014-09-10 18:03:58 -07:00
Jason Freeman
fad5650be6 Fix the error spans issue 2014-09-10 17:57:51 -07:00
Jason Freeman
c27379827b Add asserts for bounds on diagnostics 2014-09-10 16:44:57 -07:00
Yui T
26fbb987bb Remove getCurrentDirectory and getDefaultLibFilename from LanguageServiceShimHost 2014-09-10 16:10:40 -07:00
Yui T
bf7e7b6cc2 Fix spelling 2014-09-10 15:58:18 -07:00
Yui T
7b0662be9e Remove getDirectory from LanguageServiceShimHost 2014-09-10 15:58:16 -07:00
Yui T
7ab51c6e2b Merge from master 2014-09-10 15:58:14 -07:00
Yui T
cf2214bba0 Change getCurrentDirectory and getDefaultLibname from passing around
function to its final value
2014-09-10 15:58:12 -07:00
Yui T
271bb29c94 Minor spelling and spacing fix 2014-09-10 15:58:09 -07:00
Yui T
0435c14081 Add getEmitOutput and update call to getCurrentDirectory 2014-09-10 15:58:07 -07:00
Anders Hejlsberg
b9ae6cec17 Adding a comment 2014-09-10 13:14:30 -07:00
Anders Hejlsberg
3d92adec7b Fix widening in object literal property assignments 2014-09-10 12:58:30 -07:00
Daniel Rosenwasser
d98a11e6f7 Modified tests and added a test for labeled continues in a switch block. 2014-09-10 11:54:10 -07:00
Yui T
9bbbdec0c2 Check for repeating meta-data flag. 2014-09-10 09:57:42 -07:00
Yui T
4a1f652b66 Update testcases to use baseline 2014-09-10 09:57:40 -07:00
Yui T
609d1bc92c Chage test framework from manual comparing the result to using baseline;
Add compilerOptions into fourslash
2014-09-10 09:57:38 -07:00
Yui T
6cba535f20 Fix spelling 2014-09-10 09:57:36 -07:00
Yui T
ed224ca903 Update getEmitOutput test files to use new meta-data flag 2014-09-10 09:57:32 -07:00
Yui T
2a24ea5854 Fix spelling 2014-09-10 09:57:30 -07:00
Yui T
be4133a162 Add meta-data flag name to modify compilationSettings 2014-09-10 09:57:28 -07:00
Yui T
6ef41a74c7 Move checking semantic diagnostics into emitFiles function rather than
getEmitOutput
2014-09-10 09:57:26 -07:00
Yui T
537f55cede Change getCurrentDirectory and getDefaultLibname from passing around
function to its final value
2014-09-10 09:57:24 -07:00
Yui T
623b97f2ec Add check if the compilationSetting object hasOwnProperty before add the property to TypeScriptLS object 2014-09-10 09:57:20 -07:00
Yui T
b0654dc044 Remove enableSingleOutputFile boolean and use singleOutputFilename to check if singleOutputFile is specified 2014-09-10 09:57:18 -07:00