Jason Freeman
4942c5f615
Address feedback
2015-02-12 17:36:56 -08:00
Cyrus Najmabadi
be40cac7fd
Don't check invariants when running RWC tests. It adds too much running time.
2015-02-12 17:25:57 -08:00
Sheetal Nandi
e7ff4e27cc
Merge branch 'es6Import' into es6ImportDts
2015-02-12 16:57:32 -08:00
Vladimir Matveev
07dbd30ba1
update comment text
2015-02-12 16:40:06 -08:00
Vladimir Matveev
a9df539b7e
added check that var and let\const cannot share scope, added check that var is not shadowed by the let\const from the inner scope
2015-02-12 16:37:07 -08:00
Mohamed Hegazy
99373dbd89
Add test for goto def
2015-02-12 16:31:08 -08:00
Daniel Rosenwasser
15b333e102
Added comment for 'syntacticClassifierAbsent'.
2015-02-12 16:29:03 -08:00
Daniel Rosenwasser
1838800b6c
Fixed assertion
2015-02-12 16:29:01 -08:00
Daniel Rosenwasser
ab79faef85
Added tests, fixed order of emptying templateStack, unconditionally perform template classification.
2015-02-12 16:28:45 -08:00
Daniel Rosenwasser
3fea0aefbe
classifyKeywordsInGenerics -> syntacticClassifierAbsent
2015-02-12 15:48:32 -08:00
Daniel Rosenwasser
f1f085eda6
Addressed CR feedback.
2015-02-12 15:48:30 -08:00
Daniel Rosenwasser
3429fab6fb
Fixed issue with the kinds we check.
2015-02-12 15:48:27 -08:00
Daniel Rosenwasser
ea30c68128
Rudimentary, but imperfect, lexical classification for templates.
2015-02-12 15:48:21 -08:00
Mohamed Hegazy
c0b1254072
Support brace matching
2015-02-12 13:35:11 -08:00
Sheetal Nandi
649cd3bce1
Declaration emit fixes for binding pattern in variable statements
...
Handles #2023
2015-02-12 13:23:49 -08:00
Mohamed Hegazy
3e86e557d5
Use commmandNames module
2015-02-12 13:10:55 -08:00
Mohamed Hegazy
c987ab93f0
Wire navto tests
2015-02-12 12:52:26 -08:00
Mohamed Hegazy
4a44b7437a
Supportt abbreviation
2015-02-12 11:53:13 -08:00
Daniel Rosenwasser
3e8babedcf
Merge pull request #1271 from Microsoft/taggedSigHelpAtEnd
...
Fixed bug where tagged templates with a literal adjacent to EOF showed sig help past the end.
2015-02-12 11:37:32 -08:00
Jason Freeman
486cebd224
Merge branch 'master' of https://github.com/Microsoft/TypeScript into esSymbols
2015-02-12 11:03:35 -08:00
Mohamed Hegazy
6e94f39397
Remove redundant type definitions
2015-02-12 10:34:57 -08:00
Mohamed Hegazy
07d37fa7fb
Simplify host logic in client
2015-02-12 10:31:41 -08:00
Mohamed Hegazy
0963644089
Add type annotations
2015-02-11 19:49:36 -08:00
Mohamed Hegazy
abec4f9798
Wire tests to use the new server
2015-02-11 19:43:30 -08:00
Mohamed Hegazy
17f19b26a0
Initial checkin for server code
2015-02-11 19:42:44 -08:00
Mohamed Hegazy
27a9084785
Add indexer on the Formatting options interface
2015-02-11 16:13:04 -08:00
Mohamed Hegazy
9735b74def
Add support for stat and modified time on sys
2015-02-11 16:12:33 -08:00
Anders Hejlsberg
9cae8e7a81
Small fix to recording of generated names
2015-02-11 10:51:59 -08:00
Anders Hejlsberg
76ce10d182
Addressing CR feedback
2015-02-11 10:49:56 -08:00
togru
d94cbed413
Merge remote-tracking branch 'upstream/master'
2015-02-11 10:12:22 +01:00
togru
091f38b3e0
improved equality checks in AMD module sorting function
2015-02-11 10:10:11 +01:00
Sheetal Nandi
0332feda6a
Merge branch 'es6Import' into es6ImportDts
2015-02-10 19:09:00 -08:00
Sheetal Nandi
f8351c8865
Set the declarations of export assignment visible on demand through dts emit
...
Emit those new declarations asynchronously since they are otherwise not visible
2015-02-10 19:02:13 -08:00
Sheetal Nandi
863e73c75e
Test case for emitting partial part of import syntax
2015-02-10 17:09:29 -08:00
Sheetal Nandi
e0323b4c2f
Emit the import declaration in d.ts file only if it is visible
2015-02-10 17:02:11 -08:00
Jason Freeman
a94e61bfcd
Merge branch 'master' of https://github.com/Microsoft/TypeScript into esSymbols
...
Conflicts:
src/compiler/diagnosticInformationMap.generated.ts
2015-02-10 16:20:32 -08:00
Anders Hejlsberg
e8cc2bf5f7
Merge branch 'master' into es6Import
2015-02-10 16:17:50 -08:00
Jason Freeman
18276e5267
Address feedback from @yuit
2015-02-10 16:13:28 -08:00
Sheetal Nandi
05fcdf0e30
Declaration for default bindings of the import syntax
2015-02-10 15:39:24 -08:00
Sheetal Nandi
f2a28a5975
Declaration emit for NamedImport syntax
2015-02-10 15:16:38 -08:00
Anders Hejlsberg
3523233ae6
Rewrite named imports to reference properties on module instance
2015-02-10 14:59:20 -08:00
Sheetal Nandi
96139ca4d8
Enable declaration emit for import * as ns from "mod" syntax
2015-02-10 14:36:54 -08:00
Sheetal Nandi
6ac1bcca08
Enable declaration emit for import "mod" syntax
2015-02-10 13:43:05 -08:00
Vladimir Matveev
f29d931bd9
disallow let to be used as name in let\const in ES6
2015-02-10 13:36:24 -08:00
Anders Hejlsberg
4b92e42b62
Merge pull request #1931 from Microsoft/spreadCall
...
Support spread operator in call expressions
2015-02-10 09:24:53 -08:00
togru
8492dfdffd
moved AMD module sorting to emitter, updated test case
2015-02-10 10:28:09 +01:00
Cyrus Najmabadi
f979694e3d
Classify newlines as whitespace in the classifier.
2015-02-09 22:55:32 -08:00
Cyrus Najmabadi
b86ef44e59
Add assert that clients do not try to call updateSourceFile multiple times on a source file.
2015-02-09 17:24:01 -08:00
Cyrus Najmabadi
11d19e3019
Fix issue with cancellation corrupting LS state.
...
The problem here was as follows:
1) Host calls into the LS to do some sort of operation.
2) LS tries to synchronize with the host.
3) During synchronization we attempt to create a new program.
4) Creating the new program causes us to incrementally update some source files.
5) Incrementally updating a source file produces a new source file, and invalidates the old one.
6) *Then* the host asks to cancel this operation.
7) THe synchronization process cancels itself, leaving the LS in an inconsistent state where some
of its source files have had their trees updated, but the information about the source file still
thinks that we have the previous version.
The fix is to not allow cancellation during host synchronization. Once we start, we have to go
all the way to completion.
2015-02-09 17:15:29 -08:00
Cyrus Najmabadi
2eb1a213c7
Prevent index out of bounds exception.
2015-02-09 14:55:54 -08:00