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
Wesley Wigham
8a93b48945
fix lint: prefer const
2015-11-04 14:51:36 -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
Mohamed Hegazy
ec716549a5
Update default configurations
2015-11-04 09:08:33 -08:00
Vladimir Matveev
652a3a4a55
do not report 'unreachable code' on empty statements
2015-11-03 22:30:27 -08:00
Mohamed Hegazy
884dff03ba
Use relative file name when reporting errors
2015-11-03 14:27:26 -08:00
Martin Všetička
30499e7ee5
Support '/dev/stdout' as a valid '--out' parameter
2015-11-03 08:05:49 +01:00
Daniel Rosenwasser
a44a340449
Fix description of '--pretty'.
2015-11-02 16:40:35 -08:00
Daniel Rosenwasser
ce24bcb2ee
;
2015-11-02 15:45:57 -08:00
Daniel Rosenwasser
32b259eb84
Merge branch 'master' into iFeelPrettyErr
2015-11-02 15:31:23 -08:00
Daniel Rosenwasser
e5f105367a
Merge branch 'master' into iFeelPrettyErr
2015-11-02 15:28:42 -08:00
Daniel Rosenwasser
40f10abe01
Forget about tty detection. It won't work in build tools.
2015-11-02 15:23:15 -08:00
Vladimir Matveev
fb15e9c7c0
Merge pull request #4788 from Microsoft/reachabilityChecks
...
initial revision of reachability checks
2015-11-02 14:55:19 -08:00
Daniel Rosenwasser
654cbd9779
Just name the option 'pretty' for now.
2015-11-02 13:20:48 -08:00
Daniel Rosenwasser
4219c5ffec
Added colors to diagnostic types, addressed some CR feedback.
2015-11-02 13:12:19 -08:00
Mohamed Hegazy
3e631449a1
Merge pull request #5450 from sarod/allow-comments-tsconfig
...
Allow comments in tsconfig.json
2015-11-02 11:46:44 -08:00
Yui
f503169f8c
Merge pull request #5472 from MartyIX/issue-5183
...
Fix copyright comments are not preserved when generating d.ts files
2015-11-02 11:21:47 -08:00
Nathan Shively-Sanders
cc64210519
Merge pull request #5474 from Microsoft/forbid-this-as-constructor-parameter-type
...
Forbid this as constructor parameter type
2015-11-02 11:04:36 -08:00
Martin Vseticka
1703972dd2
Preserve copyright comments when generating d.ts files
2015-11-02 17:07:16 +01:00
Sébastien Arod
638e4b758a
Use regex for repacing comments content.
...
Use space for indents
2015-11-01 15:31:16 +01:00
Sébastien Arod
00b389d477
New commit using TS scanner.
...
This commit uses TS scanner and replaces comments token text
by whitespaces to preserve orginal positions.
2015-10-31 23:17:46 +01:00
Nathan Shively-Sanders
201266b97f
Switch to isNodeDescendantOf
2015-10-31 12:42:04 -07:00
Daniel Rosenwasser
48c2bb1c50
Fixed 'tsconfig.json' ordering.
2015-10-30 18:10:31 -07:00
Daniel Rosenwasser
fa2e614f9f
Merge branch 'master' into iFeelPrettyErr
2015-10-30 18:10:05 -07:00
Daniel Rosenwasser
90bac23be4
Always generate an identifier in a for-of loop.
2015-10-30 15:59:16 -07:00
Nathan Shively-Sanders
6aecd43d9a
Fix isConstructorParameter
2015-10-30 15:03:44 -07:00
Nathan Shively-Sanders
c82d4a61e3
Forbid 'this' as constructor parameter type
2015-10-30 14:01:06 -07:00
Nathan Shively-Sanders
16f69daf10
Merge pull request #5469 from Microsoft/improve-constructor-object-return-error-message
...
Improve constructor object return error message
2015-10-30 10:17:47 -07:00
Vladimir Matveev
83919f0a3e
addressed PR feedback: renamed 'toRelativePath' to 'convertToRelativePath'
2015-10-30 09:52:14 -07:00
Nathan Shively-Sanders
79f09dab4f
Add more detailed error message
...
When an object literal, for example, is returned that does not match the
type of the consturctor, add detail about a field that is required but
missing.
Do this by passing `node.expression` instead of `undefined` -- the rest of
the error reporting infrastructure is already in place.
2015-10-30 09:16:10 -07:00
Vladimir Matveev
534bb62c59
remove 'path' suffix from FileMap methods
2015-10-29 16:43:12 -07:00
Vladimir Matveev
e1b4f01e77
introduce Path as branded string type, switch FileMap to use Path
2015-10-29 16:24:00 -07:00
Sébastien Arod
5f81ba12aa
Use CharactersCodes and isLineBreak in conditions
2015-10-29 23:02:32 +01:00
Vladimir Matveev
93e942a6de
FileMap now internally stores absolute normalized file names
2015-10-29 13:52:43 -07:00
Vladimir Matveev
67026f3461
use resolvedFileName as is when calling methods on host
2015-10-29 13:09:46 -07:00
Vladimir Matveev
3f11c0b2de
merge with master
2015-10-29 09:33:27 -07:00
Sébastien Arod
f5e73ab8bf
Fix handling of escaped characters in string
2015-10-29 14:55:23 +01:00
Sébastien Arod
b60d88fa80
Allow comments in tsconfig.json issue #4987
2015-10-29 12:56:13 +01:00
Mohamed Hegazy
8e732c9b95
Merge pull request #5375 from MartyIX/issue-5109
...
Add warning message empty THEN clause
2015-10-28 14:19:51 -07:00
Ron Buckton
fdac86fab9
Linter errors
2015-10-28 13:48:13 -07:00
Martin Všetička
1e2108854b
Add warning message empty THEN clause
2015-10-28 08:25:41 +01:00
Ron Buckton
96504fa604
Use resolvedSymbol instead of mergedSymbol.
...
Fixes #5333 .
2015-10-28 00:09:50 -07:00
Vladimir Matveev
e811fecda6
Merge pull request #5275 from Microsoft/fixCasingAndPathFormat
...
use absolute path as key to store files, correctly handle scenarios w…
2015-10-27 14:02:35 -07:00
Vladimir Matveev
f5d4aa7d9c
addressed PR feedback (change command line flag description), added tests
2015-10-27 13:27:51 -07:00
Vladimir Matveev
d2a11b55dc
merge with master
2015-10-27 10:41:21 -07:00
Wesley Wigham
6e78b9c34d
Merge pull request #5358 from Microsoft/debugger
...
Add JS breakpoint into Debug.assert failure
2015-10-27 10:27:02 -07:00
Vladimir Matveev
ea054f7cbb
Merge pull request #5412 from Microsoft/classesInLoop
...
treat local classes as block scoped variables
2015-10-27 10:23:16 -07:00
Mohamed Hegazy
33d7a1fc13
Merge pull request #5397 from seanchas116/fix-nested-parameter-destructuring
...
Fix nested parameter destructuring
2015-10-27 09:46:23 -07:00
Vladimir Matveev
654befa781
treat local classes as block scoped variables
2015-10-26 22:18:04 -07:00
Vladimir Matveev
4dbd04cdeb
Merge pull request #5208 from Microsoft/capturedBlockScopedVars
...
support block scoped vars captured in closures inside loops
2015-10-26 16:58:15 -07:00