Cyrus Najmabadi
7320a189f1
Adding rename tests.
2014-09-17 15:19:20 -07:00
Vladimir Matveev
f3aba2177e
merge with master
2014-09-16 11:24:00 -07:00
CyrusNajmabadi
f89804e074
Merge pull request #672 from Microsoft/getSyntacticClassifications
...
Add support for syntactic classification.
2014-09-15 18:56:25 -07:00
Cyrus Najmabadi
7be2d2866b
Classification tests.
2014-09-15 17:39:48 -07:00
Cyrus Najmabadi
ebb0beb203
Adding classification tests.
2014-09-15 17:23:38 -07:00
Vladimir Matveev
c4e6ad8dd9
address CR feedback: renames, handle smart indentation in type argument lists in type references
2014-09-15 16:08:33 -07:00
Daniel Rosenwasser
358733fda3
Merge branch 'master' into getOccurrencesLoopBreakContinue
2014-09-15 16:01:05 -07:00
Anders Hejlsberg
b4cddc3903
Merge branch 'master' into tupleTypes
2014-09-15 11:04:58 -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
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
Vladimir Matveev
563b92cdce
update test baselines
2014-09-11 12:04:49 -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
1e8772c7a5
Merge branch 'getOccurrences' into getOccurrencesLoopBreakContinue
...
Conflicts:
src/services/services.ts
2014-09-10 19:19:53 -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
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
Anders Hejlsberg
e2c3b50ed1
Merge branch 'master' into truncateTypesInErrors
...
Conflicts:
src/compiler/checker.ts
2014-09-09 13:51:08 -07:00
Anders Hejlsberg
aa58dcbee0
Adding noErrorTruncation compiler option
2014-09-09 12:25:03 -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
1cd0b306ed
Added tests for getOccurrences on super.
2014-09-08 14:40:44 -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
Jason Freeman
6fb3c34681
Conformance coverage for spec change #589
2014-09-05 18:44:49 -07:00
Cyrus Najmabadi
aeb428e9e5
Fix incremental parsing bug due to non invalidating cached data in nodes.
2014-09-05 17:59:52 -07:00
Mohamed Hegazy
dd3bb9cc69
Merge branch 'master' into noImplicitAnyOnCast
2014-09-05 16:46:41 -07:00
Mohamed Hegazy
3b6afb8499
respond to code review remarks
2014-09-05 16:41:37 -07:00
Anders Hejlsberg
be7e0a75e9
Merge branch 'master' into tupleTypes
2014-09-05 13:52:45 -07:00
Mohamed Hegazy
901c72808d
Merge branch 'master' into emitDeclarationWithNoResolve
2014-09-05 13:07:14 -07:00
Mohamed Hegazy
05ebe9c214
add negative test for invalid references and declaration emit
2014-09-04 14:41:11 -07:00
Mohamed Hegazy
5422e56d48
Do not show noImplictAny errors when widening for a cast expression
2014-09-04 14:25:12 -07:00
Sheetal Nandi
f582902ec0
Merge pull request #569 from Microsoft/collisions
...
Report error if exports or require is used for declaration name in external module
2014-09-04 13:44:43 -07:00
Daniel Rosenwasser
a6a6d77d4a
Added fourslash tests for 'this' keyword findOccs/findRefs.
2014-09-04 13:30:18 -07:00
Daniel Rosenwasser
492e1c5d72
Merge pull request #593 from Microsoft/getOccurrencesReturn
...
Get occurrences for return keywords.
2014-09-04 13:20:07 -07:00
Mohamed Hegazy
acf557dd3c
Do not emit references in generated declaration files if the --noresolve flag was set. This fixes a crash in the compiler when generating declarations with /// reference and noResolve
2014-09-04 13:16:22 -07:00
Sheetal Nandi
7b45cdf9b3
Negative test cases for collision of export and require declaration names
2014-09-04 13:00:59 -07:00
Daniel Rosenwasser
294ad06b68
Merge branch 'getOccurrences' of https://github.com/Microsoft/TypeScript into getOccurrences
2014-09-04 12:01:24 -07:00
Sheetal Nandi
3cc4b73858
Merge pull request #570 from Microsoft/linemaps
...
Handles all the line breaks in calculation of line-character position
2014-09-04 09:53:06 -07:00
Sheetal Nandi
816b018ae2
Fix the tab and indent calculation when formatting comments in the emitted output
2014-08-29 20:49:47 -07:00
Sheetal Nandi
a87a7794f4
Report error if exports or require is used for declaration name in external module
...
Fixes #63
2014-08-29 18:45:38 -07:00
Sheetal Nandi
c2b78ead05
Handles all the line breaks in calculation of line-character position
...
lineFeed = 0x0A, // \n
carriageReturn = 0x0D, // \r
lineSeparator = 0x2028,
paragraphSeparator = 0x2029,
nextLine = 0x0085,
Fixes #131
2014-08-29 17:27:47 -07:00
Daniel Rosenwasser
7e5802192e
Added tests for getOccs on return keywords.
2014-08-29 16:11:02 -07:00
Mohamed Hegazy
dc0560ae59
Merge branch 'master' into getReferences
...
Conflicts:
tests/baselines/reference/aliasUsageInGenericFunction.types
tests/baselines/reference/aliasUsageInObjectLiteral.types
tests/baselines/reference/aliasUsageInOrExpression.types
tests/baselines/reference/extendingClassFromAliasAndUsageInIndexer.types
2014-08-29 15:56:36 -07:00
Sheetal Nandi
b514fa58a9
Merge pull request #514 from Microsoft/overloadSignatureDeclaration
...
Correct the declaration emit for overload implementation if there is single overload signature
2014-08-29 14:33:53 -07:00
Daniel Rosenwasser
0a5c12c7ab
Added test case for broken if-elses.
2014-08-29 13:44:54 -07:00
Daniel Rosenwasser
0632d0c38c
Addressed CR feedback, no longer highlighting elseifs with comments between.
2014-08-29 13:08:48 -07:00
Jason Freeman
ad27af1a33
Merge branch 'master' into typeBaselines
2014-08-28 17:24:45 -07:00