Commit graph

10847 commits

Author SHA1 Message Date
Chuck Jazdzewski
8bf9da614f Adding sourceFiles to the Program emit callback
This implements #7438
2016-03-15 13:25:18 -07:00
Mohamed Hegazy
821723b839 RWC runner fixes for reading json files 2016-03-15 12:18:17 -07:00
Kanchalai Tanglertsampan
f4e920e2c1 Add unittest for testing convert compiler-options and typing-options 2016-03-15 11:45:21 -07:00
Kanchalai Tanglertsampan
157b8e7456 Add a new unittest for command line parsing for --lib 2016-03-15 11:44:33 -07:00
Bill Ticehurst
2899e9799f Merge pull request #7521 from Microsoft/port7504
Port of #7504 (improve NavBar for JS files)
2016-03-15 11:05:55 -07:00
Bill Ticehurst
1bc9157b76 Port NavBar for JS improvements 2016-03-15 09:21:06 -07:00
Anders Hejlsberg
b497243f90 Merge branch 'master' into strictNullChecks 2016-03-14 16:31:29 -07:00
Anders Hejlsberg
09ad9c5243 Remove 'T?' notation from type-to-string conversion 2016-03-14 16:29:12 -07:00
Kanchalai Tanglertsampan
c7df7770cd Add unittest for parsing --lib in tsconfig 2016-03-14 15:53:57 -07:00
Kanchalai Tanglertsampan
be0592da3b Add correct options for --lib 2016-03-14 15:53:42 -07:00
Kanchalai Tanglertsampan
eb82824697 Chagne specifies -> specify 2016-03-14 15:49:29 -07:00
Mohamed Hegazy
0735f465f0 Add support for list types
consolidate typings options and commmandline option parsing from json files

Fix
2016-03-14 15:28:49 -07:00
Anders Hejlsberg
b1bef15a1e Removing 'T?' type notation (use 'T | null | undefined' instead) 2016-03-14 15:11:27 -07:00
Mohamed Hegazy
3adab0cec3 revert 2016-03-14 14:42:43 -07:00
Vladimir Matveev
9f6f871e01 Merge pull request #7507 from Microsoft/preprocessFindAugmentations
find module augmentations in preprocessor
2016-03-14 13:57:49 -07:00
Vladimir Matveev
2b2092b1a2 find module augmentations in preprocessor 2016-03-14 13:30:38 -07:00
Vladimir Matveev
94ada07051 Merge pull request #7500 from Microsoft/noImplicitReturnCtor
don't check that return statement has expression in constructors
2016-03-13 18:52:17 -07:00
Vladimir Matveev
e0a79bcd63 don't check that return statement has expression in constructors 2016-03-13 15:31:55 -07:00
Mohamed Hegazy
74e498de03 Merge pull request #7409 from anilanar/allowOutWithNoEmit
Fix #7397: Remove error checks for noEmit and out* compiler options combined.
2016-03-12 12:33:42 -08:00
Anil Anar
8e35cdd52c add missing conditional check 2016-03-12 21:16:43 +01:00
Anil Anar
cde06b6585 Fix #7397: Remove error checks for noEmit and out* compiler options combined. 2016-03-12 19:20:18 +01:00
Mohamed Hegazy
a75a02cc7b Fix issue writing too many files asynchronuslly 2016-03-10 16:59:56 -08:00
Anders Hejlsberg
f774ecf4ec Remove 'undefined' from type of binding element with non-undefined default value 2016-03-10 14:30:42 -08:00
Bill Ticehurst
74e6582ffd Merge pull request #7470 from Microsoft/port7466
AllowJS files in tsserver when no project is given
2016-03-10 13:55:45 -08:00
Anders Hejlsberg
4c641c4147 Add 'undefined' to type of parameter with default value in signature 2016-03-10 13:09:11 -08:00
Bill Ticehurst
59d5df0a56 AllowJS files in tsserver when no project is given
(cherry picked from commit 16d7656160)
2016-03-10 12:59:39 -08:00
Anders Hejlsberg
9c58875f41 Fix linting error 2016-03-10 11:27:20 -08:00
Anders Hejlsberg
6772c34519 Accepting new baselines 2016-03-10 11:14:40 -08:00
Anders Hejlsberg
dad05642d7 Support 'this' in type guards 2016-03-10 11:13:30 -08:00
Ryan Cavanaugh
7d372bf6dc Merge pull request #7264 from RyanCavanaugh/umd
UMD support
2016-03-10 10:59:45 -08:00
Vladimir Matveev
489bf921ff Merge pull request #7464 from Microsoft/capturedLetConstInDestructuringAssignment
correctly recognize captured loop variables in destructuring assignment
2016-03-10 10:17:19 -08:00
Ryan Cavanaugh
043b338024 Add export = class scenario 2016-03-10 10:11:48 -08:00
Vladimir Matveev
7344d9ca47 correctly recognize captured loop variables in destructuring assignment 2016-03-10 09:59:09 -08:00
Bill Ticehurst
bda5737c50 Merge pull request #7455 from Microsoft/port7249
Ports CommonJS module fix #7249
2016-03-10 09:22:19 -08:00
Zhengbo Li
e151d49e7f Merge pull request #7307 from zhengbli/fixFormatOnEnter
Avoid removing indentation on a new line as trailing white spaces
2016-03-10 09:18:56 -08:00
Anders Hejlsberg
796613ce09 Better error message + fix assignment analysis of 'switch' statement 2016-03-10 06:51:57 -08:00
Bill Ticehurst
9924e0a801 Addressed feedback
(cherry picked from commit fa6db1b8c9)
2016-03-09 19:13:14 -08:00
Bill Ticehurst
3ebf0fc383 Fixed default import from export equals
(cherry picked from commit c4a10cfcdd)
2016-03-09 19:13:14 -08:00
Bill Ticehurst
b760fc0ae0 Fixed es2015 imports from export=
(cherry picked from commit 9e46c180b4)
2016-03-09 19:13:13 -08:00
Bill Ticehurst
4ec4ce814d Updated binding for module.exports
(cherry picked from commit 62bf4aefe2)
2016-03-09 19:13:13 -08:00
Vladimir Matveev
f06423bffc Revert "add part of test baselines"
This reverts commit 502b2ba321.
2016-03-09 17:08:26 -08:00
Vladimir Matveev
502b2ba321 add part of test baselines 2016-03-09 17:06:19 -08:00
Ryan Cavanaugh
8cef251b14 Add test for function export 2016-03-09 16:24:54 -08:00
Ryan Cavanaugh
c72f1c354b Reuse existing var 2016-03-09 16:08:08 -08:00
Ryan Cavanaugh
14941f26a0 Add tests for each variant of UMD augmentation 2016-03-09 14:35:03 -08:00
Nathan Shively-Sanders
93510e8261 Merge pull request #7451 from Microsoft/runtest-parallel-runs-lint
Always run lint, even for runtests-parallel
2016-03-09 13:05:27 -08:00
Yui
05baf3dac7 Merge pull request #7356 from Microsoft/fix7354
Concat declaration error so we report them
2016-03-09 13:02:45 -08:00
Anders Hejlsberg
cf9e08b75c Merge branch 'master' into strictNullChecks
Conflicts:
	src/compiler/checker.ts
2016-03-09 13:00:59 -08:00
Vladimir Matveev
5d5fee2ef1 Merge pull request #7450 from Microsoft/noImplicitReturnsInAsync
unwrap promised typed in async function before doing 'noImplicitRetur…
2016-03-09 12:42:10 -08:00
Nathan Shively-Sanders
8a01a973bb Always run lint, even for runtests-parallel
The first runner runs lint, not the first to complete.
2016-03-09 12:40:53 -08:00