1256 Commits

Author SHA1 Message Date
Daniel Rosenwasser
a7bf6902ff Merge pull request #7952 from Microsoft/objectAssignPoly
Use an emit helper (or Object.assign) for JsxSpreadAttributes
2016-04-08 13:24:12 -07:00
Daniel Rosenwasser
fb6f4aefd9 Changed emit to use 'Object.prototype.hasOwnProperty'. 2016-04-08 12:34:25 -07:00
Daniel Rosenwasser
a90d471b87 Remove unnecessary 'null'/'undefined' check, removed temp for args length. 2016-04-07 23:25:32 -07:00
Daniel Rosenwasser
bb0ec3bbd4 Use an emit helper for JSX Spread Attributes. 2016-04-07 18:30:26 -07:00
Paul van Brenk
58efc2ee05 Merge pull request #7883 from Microsoft/listEmittedFiles2
Add option to list the emitted files as part of the compiler output.
2016-04-07 17:50:26 -07:00
Daniel Rosenwasser
9b6f8d1b7a Merge pull request #7924 from Microsoft/correctStrictPrologueCheck
Emit "use strict" if a prologue only contains "use strict" somewhere inside of it
2016-04-07 12:37:33 -07:00
Daniel Rosenwasser
e9e8837474 Ensure that the entire contents are simply 'use strict'. 2016-04-07 00:47:29 -07:00
Paul van Brenk
5363b2d7ad Add option to list the emitted as part of the compiler output.
This is useful for incremental build scenarios.
2016-04-06 13:25:29 -07:00
Nathan Shively-Sanders
ce68932475 Merge branch 'master' into this-function-types 2016-03-31 10:46:03 -07:00
Anton Tolmachev
7ce43d4716 Fix #7101 2016-03-29 22:53:30 +03:00
Nathan Shively-Sanders
9e5f26048b Merge branch 'master' into this-function-types 2016-03-28 10:12:25 -07:00
Anders Hejlsberg
413d9a639f Merge branch 'master' into strictNullChecks
Conflicts:
	src/compiler/diagnosticMessages.json
	src/compiler/types.ts
	tests/baselines/reference/typeGuardOfFormTypeOfEqualEqualHasNoEffect.symbols
	tests/baselines/reference/typeGuardOfFormTypeOfNotEqualHasNoEffect.symbols
2016-03-21 16:21:02 -07:00
Vladimir Matveev
51e8f7dd7a Merge pull request #7555 from Microsoft/destructuring-variable-declarations
Destructuring in variable declarations when module kind is not ES6
2016-03-17 10:37:34 -07:00
Vladimir Matveev
c9ef8be16c addressed PR feedback 2016-03-17 07:05:33 -07:00
Vladimir Matveev
57d9a5ada5 emit top level classes as class expressions when target=ES6 and module=System 2016-03-16 21:56:53 -07:00
Vladimir Matveev
6cf57b1bca fix comments 2016-03-16 16:42:23 -07:00
Vladimir Matveev
3ede567fbc use downlevel destructuring for exported variables for target=ES6 if module kind is not ES6 2016-03-16 16:40:35 -07:00
Chuck Jazdzewski
8bf9da614f Adding sourceFiles to the Program emit callback
This implements #7438
2016-03-15 13:25:18 -07:00
Nathan Shively-Sanders
fa22250110 Merge branch 'master' into this-function-types 2016-03-09 13:36:42 -08:00
Anders Hejlsberg
cf9e08b75c Merge branch 'master' into strictNullChecks
Conflicts:
	src/compiler/checker.ts
2016-03-09 13:00:59 -08:00
Oskar Segersvärd
ccd5352eb8 System doesn't have direct identifier access in TS's generated code. 2016-03-09 12:13:27 +01:00
Oskar Segersvärd
d742ca50f4 Fix shorthand properties for non-es6 module formats 2016-03-09 11:22:47 +01:00
Vladimir Matveev
1e2d4773a1 Merge pull request #7283 from Microsoft/noRedundantContinue
do not emit explicit 'continue' in converted loops
2016-03-01 12:15:03 -08:00
Daniel Rosenwasser
dbf8b02656 Use single-quoted strings in certain places. 2016-02-29 11:13:20 -08:00
Vladimir Matveev
24511ad1d7 do not emit explicit 'continue' in converted loops 2016-02-28 08:57:45 -08:00
Vladimir Matveev
66cf56e1e0 emit temp declarations after export equals 2016-02-25 20:48:15 -08:00
Mohamed Hegazy
353998a6bd Rever change to EmitOutput.diagnostics 2016-02-18 12:06:17 -08:00
Anders Hejlsberg
1f096bd080 Add '!' non-null assertion postfix operator 2016-02-17 18:44:15 -08:00
Mohamed Hegazy
eed65a0334 Port #7106 to master 2016-02-16 22:01:28 -08:00
Nathan Shively-Sanders
e7aa7e4958 Merge branch 'master' into this-function-types 2016-02-16 13:57:25 -08:00
Josh Soref
284b26f49f spelling fixes for src/compiler
* after
* aggressive
* appear
* asterisks
* candidate
* conflict
* directory
* dollar
* ellipsis
* exports
* failures
* folder
* followed
* highlight
* inferred
* location
* occurred
* output
* propagated
* push
* rather
* remaining
* search
* stabilized
* substitution
* successful
* even though
* will
* with
2016-02-11 16:56:45 +00:00
Mohamed Hegazy
d27d10ce2f Merge pull request #6884 from Microsoft/emitModulesInLooseMode
Add flag to emit modules in loose mode
2016-02-05 16:51:28 -08:00
Mohamed Hegazy
6f804e40ef change flag name 2016-02-05 16:30:01 -08:00
Kanchalai Tanglertsampan
f35ab8c620 Port fix6901 from release-1.8 to master
Fix where we start checking for super-call

Update baselines

Address PR
2016-02-05 10:23:24 -08:00
Vladimir Matveev
d436d15304 addressed PR feedback 2016-02-04 12:44:31 -08:00
Mohamed Hegazy
1611f56481 Rename flag 2016-02-04 12:44:03 -08:00
Vladimir Matveev
dbcfe110f1 propagate back assignments to block scoped binding from the loop body 2016-02-03 23:48:24 -08:00
Mohamed Hegazy
10522f9eee Add flag to emit modules in loose mode 2016-02-03 14:16:22 -08:00
Nathan Shively-Sanders
8032b06f33 Merge branch 'master' into this-function-types 2016-02-02 16:16:46 -08:00
T18970237136
dbfc269e42 Add missing semicolon when emitting return statement.
Fixes #6824.
2016-02-02 08:54:07 +01:00
Daniel Rosenwasser
0855933757 Merge pull request #6587 from nojvek/master
pretty output for jsx and createElement emits to children array
2016-02-01 21:38:15 -08:00
Vladimir Matveev
e168e945e5 Merge pull request #6770 from Microsoft/dottedNamesInSystem
properly handle dotted namespace names in System modules
2016-02-01 10:01:05 -08:00
Vladimir Matveev
4d2cd6f88b properly dotted namespace names in System modules 2016-01-31 12:10:33 -08:00
Anders Hejlsberg
f0abb86158 Removing MultiLine, Synthetic, DeclarationFile, and OctalLiteral flags 2016-01-31 08:08:19 -08:00
Noj Vek
bd86e2ec80 remove uncommented lines 2016-01-30 11:31:43 -08:00
Ron Buckton
fe23cc3c44 Merge pull request #6684 from Microsoft/fixDecoratedClassName
Fix ES6 decorated class double binding.
2016-01-29 17:37:24 -08:00
Nathan Shively-Sanders
a639b71ed0 Skip emit of this types as first parameter. 2016-01-29 14:34:44 -08:00
guybedford
94fe3e0fb2 set __moduleName from context.id argument 2016-01-29 18:42:23 +02:00
Noj Vek
fcd96cb3d8 fix tslint 2016-01-28 23:33:14 -08:00
Noj Vek
238fcbcee9 single iteration through children array without any array allocation 2016-01-28 23:29:08 -08:00