Ryan Cavanaugh
c3b59d156f
Merge branch 'master' into javaScriptPrototypes
...
# Conflicts:
# src/compiler/binder.ts
# src/compiler/checker.ts
# src/harness/fourslash.ts
2015-12-01 14:34:15 -08:00
Ron Buckton
67a4fe5d67
Support for assignment/destructuring using super in an async method
2015-12-01 14:29:37 -08:00
Ryan Cavanaugh
783f65c6d9
Baseline update
2015-12-01 14:22:07 -08:00
Ryan Cavanaugh
bafe053925
Merge branch 'master' into statelessFunctionComponents
2015-12-01 14:21:33 -08:00
Wesley Wigham
cff83c5081
Fix #5844 - add many new tests covering named/anonymous default exports
2015-12-01 14:05:46 -08:00
Daniel Rosenwasser
4092de6993
Merge pull request #5736 from UBC-CPEN/issue-5173
...
Give more helpful error when trying to set default values on an interface.
2015-12-01 13:05:09 -08:00
Ron Buckton
88a43ccb4a
Fix emit for type as expression
2015-12-01 12:12:31 -08:00
Dirk Holtwick
acd1760c8c
Fix whitespace issues
2015-12-01 20:32:53 +01:00
Dirk Holtwick
c12d29bda5
Simplifying the pre ES6 async/await change
2015-12-01 20:26:20 +01:00
Ron Buckton
2745895064
Alternate approach to fix super calls in async methods.
2015-12-01 11:13:54 -08:00
Zhengbo Li
5e86ca1ba8
Merge pull request #5836 from zhengbli/SyncTSJS
...
Sync the dom.generated.d.ts files from TSJS repo
2015-12-01 10:46:25 -08:00
Vladimir Matveev
c7a65b558e
do not error on 'super' property access in ES6
2015-12-01 10:00:00 -08:00
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
Nathan Yee
144d24c2cb
Change "object type literal" to "type literal"
2015-11-30 21:52:50 -08:00
Vladimir Matveev
f18e20316a
fix merge issues
2015-11-30 20:41:12 -08:00
Vladimir Matveev
0d0de5ac48
Merge remote-tracking branch 'origin/master' into pathMappingModuleResolution
2015-11-30 20:30:16 -08:00
Ron Buckton
c792fd2d8e
Merge branch 'master' into fixAsyncReferecedImport
2015-11-30 16:45:34 -08: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
Ron Buckton
c108042886
Fixes #5789 .
2015-11-30 14:10:39 -08:00
Sheetal Nandi
ccfa625b32
var rename as per PR feedback
2015-11-30 14:03:28 -08:00
Sheetal Nandi
5772dade97
Add test case for reporting file preprocessing error in javascript file
2015-11-30 13:59:03 -08:00
Sheetal Nandi
6b42712eb2
Report bind diagnostics, program diagnostics and file pre processing diagnostics in javascript file
...
Handles #5785
2015-11-30 13:26:00 -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
Sheetal Nandi
acedf3c247
Do not emit files if noEmit is specified
...
Handles #5799
2015-11-30 12:46:53 -08:00
Wesley Wigham
d3f2f55ae8
rename tests, add another test, reoslve symbols for comparison
2015-11-30 12:44:13 -08:00
zhengbli
180eba5568
Sync the dom.generated.d.ts files from TSJS repo
2015-11-30 12:40:41 -08:00
Yui T
319a9cd430
Update baseline with new error message number and fix space and comment
2015-11-30 10:30:03 -08:00
Yui T
c0f818f1a2
Update baseline for new message
2015-11-30 10:00:19 -08:00
Yui T
a7688592b2
Address PR feedback
...
Conflicts:
src/compiler/diagnosticInformationMap.generated.ts
src/compiler/diagnosticMessages.json
src/compiler/types.ts
2015-11-30 10:00:10 -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
Yui T
680a893220
Add tests
2015-11-30 09:43:53 -08:00
Yui T
c2fb694404
Update baselines
2015-11-30 09:43:30 -08:00
Yui T
eaa2846348
Add tests
2015-11-30 09:43:10 -08:00
Yui T
653deaa2e2
Fix where to report on error. Move from constructor node to just super node
...
Conflicts:
src/compiler/checker.ts
2015-11-30 09:42:32 -08:00
Yui T
e15eab9d99
Add basic check for use super before this
...
Conflicts:
src/compiler/diagnosticInformationMap.generated.ts
src/compiler/diagnosticMessages.json
src/compiler/types.ts
2015-11-30 09:39:16 -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
Nathan Yee
e363c7582b
Revert baseline changes to the objectTypeLiteralSyntax2 test
2015-11-28 17:24:34 -08:00