mihailik
4ca24bf131
Use ts.indexOf instead of Array.prototype.indexOf
...
(keep consistent with the rest of codebase, and thus enable ES3-compatibility of tsc and services)
2015-11-09 09:52:13 +00:00
mihailik
efbacb97c9
Use ts.indexOf instead of Array.prototype.indexOf
...
(keep consistent with the rest of codebase, and thus enable ES3-compatibility of tsc and services)
2015-11-09 09:45:57 +00:00
Jeffrey Morlan
470d1d28ab
Fix issue #5444
...
reportImplementationExpectedError: The next node in the tree is not
necessarily consecutive. This happens due to syntax errors, e.g.
class C { foo(), foo(); }
2015-11-08 12:00:27 -08:00
Vladimir Matveev
72723e93be
do not report 'excess property error' if object literal pattern contains computed properties
2015-11-07 16:56:16 -08:00
Vladimir Matveev
3f1596bba7
remove nodeConstructors array, replace it with single local
2015-11-07 15:28:21 -08:00
Mohamed Hegazy
c3df2890fc
Merge pull request #5092 from tinganho/instanceOfElseClause
...
Instance of else clause
2015-11-07 12:20:36 -08:00
Ryan Cavanaugh
7dd1bf487d
Merge branch 'master' into javaScriptModules
...
# Conflicts:
# lib/lib.es6.d.ts
# lib/tsc.js
# lib/tsserver.js
# lib/typescript.d.ts
# lib/typescript.js
# lib/typescriptServices.d.ts
# lib/typescriptServices.js
# src/compiler/binder.ts
# src/compiler/checker.ts
# src/compiler/parser.ts
# src/compiler/program.ts
# src/harness/fourslash.ts
2015-11-06 16:49:09 -08:00
Anders Hejlsberg
d1c7a62a60
Merge pull request #5552 from Microsoft/thisAndConstraints
...
Instantiate constraints with type parameter as 'this'
2015-11-06 16:45:05 -08:00
Vladimir Matveev
39415d1594
Merge branch 'master' into oneEmitter
2015-11-06 16:42:14 -08:00
Ryan Cavanaugh
3f4e5a4552
Merge branch 'master' into javaScriptModules
...
# Conflicts:
# tests/webTestServer.ts
2015-11-06 16:34:38 -08:00
Vladimir Matveev
45746d11a6
make emitter singleton, replace reading file properties with local access, use one constructor function for all nodes
2015-11-06 16:21:43 -08:00
Mohamed Hegazy
aa3999419c
Merge pull request #5555 from Microsoft/addGetCurrentDirectory
...
Add getCurrentDirectory to call to createDocumentRegistry
2015-11-06 15:17:38 -08:00
Daniel Rosenwasser
c011ed455b
Const.
2015-11-06 15:00:35 -08:00
Ryan Cavanaugh
d880d4f4fb
Don't look for .js files when resolving node modules
2015-11-06 14:38:29 -08:00
Daniel Rosenwasser
d234b8df2e
Accepted baselines.
2015-11-06 14:28:54 -08:00
Daniel Rosenwasser
f939ff23ce
Fixed unreachable code in tests.
2015-11-06 14:25:32 -08:00
Mohamed Hegazy
c0bb2eaaea
Add getCurrentDirectory to call to createDocumentRegistry
2015-11-06 14:16:44 -08:00
Ryan Cavanaugh
7a94031475
Rename isTsx for clarity
2015-11-06 14:11:15 -08:00
Daniel Rosenwasser
bb232f739d
Merge remote-tracking branch 'origin/master' into stringLiteralTypes
2015-11-06 13:06:43 -08:00
Daniel Rosenwasser
a1fcfaf574
Accepted baselines.
2015-11-06 12:59:06 -08:00
Daniel Rosenwasser
8dbfe1ca63
Added specific checks for comparing stringlike types.
2015-11-06 12:58:03 -08:00
Sheetal Nandi
4c842591f7
Merge branch 'master' into jsFileCompilation
2015-11-06 12:39:42 -08:00
Anders Hejlsberg
d52455f890
Accepting new baselines
2015-11-06 08:56:09 -08:00
Anders Hejlsberg
a234497004
Updating existing test
2015-11-06 08:55:26 -08:00
Anders Hejlsberg
870e96e525
Adding test
2015-11-06 08:55:08 -08:00
Anders Hejlsberg
eee211a2a6
Instantiate type parameter constraints with type parameter as 'this'
2015-11-06 08:54:22 -08:00
Sheetal Nandi
def7b665bb
PR feedback
2015-11-05 20:09:40 -08:00
Anders Hejlsberg
9b4956fa11
Merge pull request #5459 from Microsoft/partialSignatureMatching
...
Fix union type partial signature matching
2015-11-05 16:46:52 -08:00
Anders Hejlsberg
31331ff6d1
Addressing CR feedback
2015-11-05 16:31:30 -08:00
Daniel Rosenwasser
0a706c4780
Merge branch 'master' into comparableRelation
...
Conflicts:
src/compiler/checker.ts
2015-11-05 15:48:40 -08:00
Daniel Rosenwasser
e0385a4244
Accepted baselines.
2015-11-05 15:45:12 -08:00
Daniel Rosenwasser
a37b731193
Changed type assertion error message.
2015-11-05 15:44:56 -08:00
Vladimir Matveev
572db9c403
merge with master
2015-11-05 14:46:27 -08:00
SaschaNaz
221198f704
Merge https://github.com/Microsoft/TypeScript into formatWhitespaces
2015-11-05 22:42:15 +09:00
Vladimir Matveev
2de55febb1
merge with master
2015-11-04 21:49:44 -08:00
Wesley Wigham
98e9fea6e6
Merge branch 'master' into 5378-equality-fix
2015-11-04 19:20:14 -08:00
Wesley Wigham
12c6a7400d
Merge pull request #5531 from weswigham/prefer-const
...
Prefer const lint rule & fixes
2015-11-04 17:51:11 -08:00
Wesley Wigham
84551d7cbd
for..of loops
2015-11-04 17:39:04 -08:00
Nathan Shively-Sanders
57f7d7f9df
Reword predicate to be more readable
2015-11-04 16:44:21 -08:00
Wesley Wigham
ea87bbaee6
Have travis build against node 5
...
Since it is the latest stable release, but 4 is the latest LTS release, we should have CI against both.
2015-11-04 15:48:44 -08:00
Vladimir Matveev
db2b23da00
allow computed properties in destructuring, treat computed properties with literal expressions similar to literal named properties
2015-11-04 15:35:21 -08:00
Wesley Wigham
db2f5f2249
I love fixing lints on my linter code
2015-11-04 14:58:48 -08:00
Wesley Wigham
8a93b48945
fix lint: prefer const
2015-11-04 14:51:36 -08:00
Wesley Wigham
51fc4f2c23
Add prefer const rule
2015-11-04 14:51:31 -08:00
Daniel Rosenwasser
f6eacb9606
Accepted baselines.
2015-11-04 13:19:56 -08:00
Daniel Rosenwasser
6c8c1223f2
'with' to 'to'
2015-11-04 13:19:15 -08:00
Daniel Rosenwasser
42c49cea0d
Style.
2015-11-04 13:05:46 -08:00
Mohamed Hegazy
b8e5a89667
Merge pull request #5527 from Microsoft/updateDefaults
...
Update default configurations for --init
2015-11-04 09:33:55 -08:00
Vladimir Matveev
35fcd249a6
Merge pull request #5519 from Microsoft/noReachabilityErrorsOnEmptyStatement
...
do not report 'unreachable code' on empty statements
2015-11-04 09:32:39 -08:00
Mohamed Hegazy
ec716549a5
Update default configurations
2015-11-04 09:08:33 -08:00