Cyrus Najmabadi
2eb14aa7ca
Merge branch 'master' into getRenameInfo
...
Conflicts:
src/services/services.ts
2014-09-17 15:36:26 -07:00
Cyrus Najmabadi
7320a189f1
Adding rename tests.
2014-09-17 15:19:20 -07:00
Jason Freeman
b1f243d814
Merge branch 'release-1.1'
...
Conflicts:
src/harness/harness.ts
tests/baselines/reference/typeName1.errors.txt
2014-09-17 14:10:47 -07:00
Jason Freeman
31eae88b86
Switch to createCompilerDiagnostic for an invalid root file
2014-09-17 10:44:03 -07:00
Yui T
9ee63fa21d
Merge branch 'master' into getEmitOutput
...
Conflicts:
src/services/services.ts
2014-09-16 17:40:38 -07:00
Mohamed Hegazy
50a4926eaf
Merge branch 'master' into navigateTo
...
Conflicts:
src/services/services.ts
2014-09-16 16:54:01 -07:00
Vladimir Matveev
f3aba2177e
merge with master
2014-09-16 11:24:00 -07:00
Mohamed Hegazy
1dc7ab04b2
Add implementation of getNavigateToItems based on the new compiler
2014-09-16 10:54:54 -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
Jason Freeman
cb38c9569a
Add a test to make sure types are being checked for privates
2014-09-15 10:54:44 -07:00
Jason Freeman
ba574725c2
Check that private properties originate in the same declaration
2014-09-15 10:54:42 -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
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
Daniel Rosenwasser
96e5bd26c3
Fixed bug where function type literals may omit their '=>'.
2014-09-11 16:04:07 -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
Yui T
bf7e7b6cc2
Fix spelling
2014-09-10 15:58:18 -07:00
Yui T
271bb29c94
Minor spelling and spacing fix
2014-09-10 15:58:09 -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
ed224ca903
Update getEmitOutput test files to use new meta-data flag
2014-09-10 09:57:32 -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
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
da1becccf7
Add old test files that use getEmitOutput
2014-09-10 09:54:30 -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