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
Yui T
451f92bc24
Expose function shouldEmitToOwnFile to be called in services.ts
2014-09-10 09:57:16 -07:00
Yui T
2acd98e03e
Minor spelling and spacing fix
2014-09-10 09:54:42 -07:00
Yui T
bfc93d4070
Add getEmitOutput test files
2014-09-10 09:54:38 -07:00
Yui T
8e37730d85
Update fourslash for getEmitOutput
2014-09-10 09:54:36 -07:00
Yui T
d52fe20df3
Add getEmitOutput and update call to getCurrentDirectory
2014-09-10 09:54:34 -07:00
Yui T
da1becccf7
Add old test files that use getEmitOutput
2014-09-10 09:54:30 -07:00
Yui T
6cb5096087
Make getCurrentDirectory and getDefaultLibFilename invocation in management side
2014-09-10 09:54:28 -07:00
Anders Hejlsberg
bf084f159d
Merge pull request #640 from Microsoft/contextualSignatureInstantiation
...
Fix contextual signature instantiation during type inference
2014-09-09 18:46:42 -07:00
Daniel Rosenwasser
2e2d0c3bf1
Extracted 'break'/'continue' aggregation into common helper function.
...
Also addressed other CR feedback. Still need tests.
2014-09-09 17:43:46 -07:00
Sheetal Nandi
163674d07c
Merge pull request #638 from Microsoft/qualificationOfMethods
...
Fix the condition for qualifying the symbol of methods and functions in the enclosing declaration
2014-09-09 16:21:41 -07:00
Daniel Rosenwasser
9c530fdde0
Merge pull request #639 from Microsoft/getOccurrencesConstructor
...
Implemented getOccurrences for 'constructor' keywords.
2014-09-09 15:45:55 -07:00
Anders Hejlsberg
2b58a239d1
Accepting new baselines
2014-09-09 15:23:24 -07:00
Anders Hejlsberg
34c4b312f9
Fix contextual signature instantiation during type inference
2014-09-09 15:17:33 -07:00
Daniel Rosenwasser
6cc0305a5d
Implemented getOccurrences for 'constructor' keywords.
2014-09-09 14:54:19 -07:00
Daniel Rosenwasser
90dd327635
Changed logic for break/continue search in switch statements and loops.
...
Now if a labeled break in a switch refers to its original switch statement, we also highlight the 'switch' keyword.
Also added tests for loop/break/continue.
2014-09-09 14:30:14 -07:00
Daniel Rosenwasser
69803d4d3c
Implemented getOccurrences for for/for-in/while/do-while loops and their breaks/continues.
...
This includes labelled break/continue.
2014-09-09 14:28:06 -07:00
Daniel Rosenwasser
e1f8aa7b8f
Merge pull request #632 from Microsoft/getOccurrencesSuperThanksForAsking
...
Get occurrences for 'super' keywords
2014-09-09 14:25:27 -07:00
Anders Hejlsberg
1a5b421380
Merge pull request #630 from Microsoft/truncateTypesInErrors
...
Truncate long types in error messages
2014-09-09 13:56:56 -07:00
Anders Hejlsberg
e2c3b50ed1
Merge branch 'master' into truncateTypesInErrors
...
Conflicts:
src/compiler/checker.ts
2014-09-09 13:51:08 -07:00
Daniel Rosenwasser
83c35ad059
Addressed CR feedback.
2014-09-09 12:50:14 -07:00
Sheetal Nandi
840481da3b
Fix the condition for qualifying the symbol of methods and functions in the enclosing declaration
...
Fixes #604
2014-09-09 12:45:10 -07:00
Daniel Rosenwasser
0e93d283e3
Separated 'super'/'this' keyword searching to simplify logic.
2014-09-09 12:41:57 -07:00
Mohamed Hegazy
3e4c5d5b2f
remove unused file
2014-09-09 12:28:25 -07:00
Mohamed Hegazy
a62e7d218d
Update LKG
2014-09-09 12:26:49 -07:00
Anders Hejlsberg
aa58dcbee0
Adding noErrorTruncation compiler option
2014-09-09 12:25:03 -07:00
Mohamed Hegazy
7ce8c8faad
Merge pull request #635 from Microsoft/blobConstructor
...
Add constructor paramters to Blob
2014-09-09 09:16:26 -07:00
Mohamed Hegazy
f61d07db69
add constructor paramters to Blob
2014-09-08 22:30:01 -07:00
Daniel Rosenwasser
131ac2f188
Disabled findAllRefs for 'this'/'super'.
2014-09-08 17:44:15 -07:00
Mohamed Hegazy
6fee404152
Merge pull request #602 from Microsoft/noImplicitAnyOnCast
...
Do not show noImplictAny errors when widening for a cast expression
2014-09-08 17:28:49 -07:00
Daniel Rosenwasser
dd5d216038
Merge pull request #600 from Microsoft/getOccurrencesThis
...
Get occurrences for 'this' keywords
2014-09-08 17:19:42 -07:00
Anders Hejlsberg
9f3d83adeb
Truncate long types in error messages
2014-09-08 16:14:43 -07:00
Daniel Rosenwasser
1cd0b306ed
Added tests for getOccurrences on super.
2014-09-08 14:40:44 -07:00
Jason Freeman
65341816d8
Merge pull request #621 from Microsoft/specConformanceTests
...
Conformance coverage for spec change #589
2014-09-08 14:21:37 -07:00
Jason Freeman
5d299d4e5f
Merge branch 'master' into specConformanceTests
2014-09-08 13:55:22 -07:00
Anders Hejlsberg
18c1789aa4
Merge pull request #627 from Microsoft/updateLangSpec
...
Updating Language Specification
2014-09-08 13:54:58 -07:00
Daniel Rosenwasser
1121e11c45
Basic implementation without tests for findAllRefs/getOccs for 'super' keywords.
2014-09-08 13:52:28 -07:00
Daniel Rosenwasser
66e509fd5f
Merge pull request #626 from Microsoft/typoscript
...
Corrected some spelling/grammar issues.
2014-09-08 13:34:57 -07:00
Anders Hejlsberg
deef5c1cd0
Updating Language Specification
2014-09-08 13:32:51 -07:00
Daniel Rosenwasser
5edf075142
Corrected some spelling/grammar issues.
2014-09-08 13:07:45 -07:00
Mohamed Hegazy
4f21fb59a2
fix typo
2014-09-08 12:08:15 -07:00
Mohamed Hegazy
06888e86f9
Merge branch 'master' into noImplicitAnyOnCast
...
Conflicts:
src/compiler/checker.ts
tests/baselines/reference/arrayCast.errors.txt
tests/baselines/reference/contextualTyping39.errors.txt
tests/baselines/reference/contextualTyping41.errors.txt
tests/baselines/reference/fuzzy.errors.txt
tests/baselines/reference/genericTypeAssertions2.errors.txt
tests/baselines/reference/genericTypeAssertions4.errors.txt
tests/baselines/reference/genericTypeAssertions5.errors.txt
tests/baselines/reference/intTypeCheck.errors.txt
tests/baselines/reference/typeAssertions.errors.txt
2014-09-08 10:23:37 -07:00
Anders Hejlsberg
9adb893642
Merge pull request #623 from Microsoft/shadowedModuleNames
...
Corrected codegen to support shadowed module names.
2014-09-08 10:02:51 -07:00
Anders Hejlsberg
1e79ca40f8
Merge pull request #624 from Microsoft/updateLangSpec
...
Fixing a few issues in Language Specification
2014-09-07 13:43:44 -07:00
Anders Hejlsberg
760717a424
Fixing a few issues in Language Specification
2014-09-07 09:35:33 -07:00