Dirk Holtwick
1fb8a249df
Enable await in ES6 and ES2015 script mode
...
Even though strictly generators are an ES6 feature the real world support
is large enough to use the feature in well known environments like
node.js or Electron app. Since the previous output was not working at
all anyway it feels like a good compromise to at least emit working code
while still having the warning in place. The user would also need to add
"use strict" on top of her .ts file to make it work with node.js.
2015-12-01 10:26:14 +01:00
Sheetal Nandi
dac1874c38
Merge pull request #5713 from Microsoft/noSourcemapNames
...
Do not emit names and name index mapping in source map
2015-11-30 16:45:03 -08:00
Sheetal Nandi
f315fc1c9e
Merge branch 'master' into noSourcemapNames
2015-11-30 16:33:18 -08:00
Sheetal Nandi
322f084370
Merge branch 'master' into noSourcemapNames
2015-11-30 16:27:11 -08:00
Vladimir Matveev
b40079e1da
Merge pull request #5824 from Microsoft/implicitReturnInferredVoid
...
do not report 'noImplicitReturns' error if inferred return type of th…
2015-11-30 16:16:25 -08:00
Sheetal Nandi
74d92f0fb6
Merge pull request #5724 from Microsoft/sourceMapAndBreakpointDecorators
...
Various fixes for sourcemap and breakpoints of decorators
2015-11-30 15:59:03 -08:00
Ron Buckton
aae67497b9
Merge pull request #5840 from Microsoft/fixExtraAwaiter
...
Fixes #5564 .
2015-11-30 15:45:13 -08:00
Sheetal Nandi
a87169829c
Merge branch 'master' into sourceMapAndBreakpointDecorators
2015-11-30 14:14:06 -08:00
Sheetal Nandi
ccfa625b32
var rename as per PR feedback
2015-11-30 14:03:28 -08:00
Ron Buckton
6d159542cd
Fixes #5564 .
2015-11-30 13:12:41 -08:00
Ron Buckton
266600da08
Merge pull request #5780 from Microsoft/extractSourceMaps
...
Extract source map generation logic out of the emitter.
2015-11-30 12:51:36 -08:00
Yui
78ba4b2e9e
Merge pull request #5781 from Microsoft/fix4715
...
Fix completion and quick info crash in type parameter in function in type alias
2015-11-30 09:45:30 -08:00
Vladimir Matveev
6ff5679274
fix typo in comment
2015-11-30 09:34:32 -08:00
Vladimir Matveev
090eb205b2
Merge pull request #5827 from Microsoft/shebangBeforeReferences
...
ignore all trivia except singleline comments when processing triplesl…
2015-11-30 09:23:08 -08:00
Yui T
2cc7a7904a
use const
2015-11-30 09:10:14 -08:00
Yui T
2d133454e1
Merge branch 'master' into fix4715
2015-11-30 08:55:43 -08:00
Vladimir Matveev
9552d4da44
ignore all trivia except singleline comments when processing tripleslash references
2015-11-29 21:17:31 -08:00
Vladimir Matveev
7f8bf731bd
fix lint errors
2015-11-29 15:16:30 -08:00
Vladimir Matveev
d0e4a4ca92
do not report 'noImplicitReturns' error if inferred return type of the function is void/any
2015-11-28 23:20:53 -08:00
Daniel Rosenwasser
2f282a786a
Merge pull request #5566 from jeffreymorlan/fix5444
...
Fix issue #5444
2015-11-28 12:00:26 -08:00
Jeffrey Morlan
ed453ddcfc
Add comment
2015-11-28 10:41:37 -08:00
Wesley Wigham
38215c6802
Merge pull request #5577 from weswigham/autohoist-default
...
Add command line flag to allow synthetic default exports
2015-11-25 18:34:16 -08:00
Wesley Wigham
fd5f4404cb
accept new baselines
2015-11-25 18:22:44 -08:00
Wesley Wigham
d74ab2eac7
Merge branch 'master' into autohoist-default
2015-11-25 17:52:51 -08:00
Wesley Wigham
ebbce6acf5
Merge pull request #5800 from weswigham/master
...
accept baselines
2015-11-25 17:51:42 -08:00
Wesley Wigham
2198988e7b
accept baselines
2015-11-25 17:46:27 -08:00
Yui T
62fb5e85e4
Include debug assert
2015-11-25 17:33:11 -08:00
Wesley Wigham
adc3f2bd19
update description
2015-11-25 17:27:07 -08:00
Yui
fecf99cf75
Merge pull request #5742 from Microsoft/applylinteronscripts
...
Apply Tslint on scripts
2015-11-25 17:20:55 -08:00
Wesley Wigham
c9b3b7e42e
Merge pull request #5661 from weswigham/use-common-directory-for-out
...
Use common source directory for calculating concatenated module paths
2015-11-25 17:18:48 -08:00
Wesley Wigham
ec775ba4aa
Merge pull request #5648 from weswigham/default-commonjs-es6
...
Handle default class exports when targeting es6 with non-es6 module kinds
2015-11-25 17:15:06 -08:00
Wesley Wigham
39266849f1
accept projects tests baselines
2015-11-25 16:58:44 -08:00
Wesley Wigham
d1c467ff4d
Merge branch 'master' into use-common-directory-for-out
2015-11-25 16:41:58 -08:00
Sheetal Nandi
b5c64ad516
Test case for binder errors in .js file
2015-11-25 15:34:25 -08:00
Ron Buckton
04d53c1cfe
Simpler inline cycle check for stringify
2015-11-25 14:35:44 -08:00
Ron Buckton
6bc2c069a6
Missed linter error.
2015-11-25 13:53:30 -08:00
Ron Buckton
b33eff1143
PR feedback
2015-11-25 12:47:32 -08:00
Vladimir Matveev
937ce71a12
Merge pull request #5733 from Microsoft/unconditionalNoImplicitReturns
...
apply 'noImplicitReturns' rule for functions that don't have type an…
2015-11-25 12:25:51 -08:00
Yui T
c5a2969255
check for null
2015-11-25 11:41:51 -08:00
Daniel Rosenwasser
995f0c40e4
Merge pull request #5782 from Microsoft/renameStringLiteralTypeFunctions
...
Renamed functions, fixed signature, removed TODO
2015-11-25 00:00:16 -08:00
Daniel Rosenwasser
8702cc4215
Renamed functions, fixed signature, removed TODO.
2015-11-24 18:01:47 -08:00
Yui T
81fdc4384f
Add fourslash tests
2015-11-24 17:50:00 -08:00
Yui T
7ff4238f93
Fix crushing of getting signatureDeclaration when we are not in function declaration
2015-11-24 17:44:10 -08:00
Ron Buckton
d88186bc11
Removed isArray branch in checkCycles as it was unnecessary
2015-11-24 17:06:17 -08:00
Ron Buckton
0ad2efcd61
removed typeof check for isArray
2015-11-24 17:00:27 -08:00
Ron Buckton
fd51ebf0fd
Minor stringify cleanup, added cycle detection for AssertionLevel.Aggresive only.
2015-11-24 16:59:55 -08:00
Ron Buckton
aa5e57668f
minor tweak to null handling in stringify
2015-11-24 16:26:57 -08:00
Ron Buckton
8909c3a2dd
Merge pull request #5725 from Microsoft/stringTypesCleanup
...
Disambiguate string literal types from other string literals.
2015-11-24 15:23:25 -08:00
Sheetal Nandi
a7cc86380d
Merge branch 'master' into sourceMapAndBreakpointDecorators
2015-11-24 14:53:18 -08:00
Wesley Wigham
d0de238e34
Merge pull request #5765 from weswigham/emit-module-in-strict-mode
...
Emit modules in strict mode
2015-11-24 13:58:48 -08:00