Commit Graph
103 Commits
Author SHA1 Message Date
Ron Buckton 3c344987de Merge branch 'master' into transforms 2016-03-18 17:13:55 -07:00
Ron Buckton 5b8cf96028 Moved modifier related flags to separate enum 2016-03-10 11:12:24 -08:00
Mohamed Hegazy 3bb2c57264 Fix #3810: Handel expressions in extends clauses 2016-03-03 22:35:30 -08:00
Daniel Rosenwasser dbf8b02656 Use single-quoted strings in certain places. 2016-02-29 11:13:20 -08:00
Vladimir Matveev 8e77f40ace avoid multiple passes over the program when computing diagnostics for the bundled emit 2016-02-24 14:21:30 -08:00
Ron Buckton c759b633d6 Adds ES6 transformer 2016-02-19 17:01:02 -08:00
AbubakerB d0843e1dc2 Merge branch 'ts-master' into constructorAccessibility
Conflicts:
	src/compiler/checker.ts
2016-02-12 23:35:22 +00:00
Vladimir Matveev 5b7b57626c split declaration and initialization of writer variable 2016-02-10 13:58:31 -08:00
Josh Soref e848e95bab spelling fixes for checker.ts, declarationEmitter.ts, types.ts
* accessibility
* accessor
* annotate
* anything
* apply
* assignability
* collection
* conservatively
* constituent
* constructor
* containing
* contextual
* contributed
* declaration
* excessively
* exclusion
* field
* indistinguishable
* initializer
* intrinsic
* knowing
* noisiness
* occurred
* overridden
* parameter
* perspective
* properties
* property
* prototype
* rewritten
* specifies
* symbolFromSymbolTable
2016-02-09 18:16:36 +00:00
AbubakerB bbf92ce391 Added constructor visibility in the declaration emitter 2016-02-04 18:32:56 +00:00
Vladimir Matveev 202452b521 emit import declarations without import clause in .d.ts files 2016-02-02 15:53:20 -08:00
Anders Hejlsberg a88ff9c2ad Emit readonly in declaration file for get-only accessors in classes 2016-01-28 13:28:49 -08:00
Anders Hejlsberg 3019017093 Emit readonly in declaration files 2016-01-28 10:39:54 -08:00
vladima 7cef1efb4e merge with origin/master 2016-01-11 22:12:03 -08:00
Vladimir Matveev 7f2ebf928a use 'declare global' to define augmentations for the global scope 2015-12-28 12:03:54 -08:00
Nathan Shively-Sanders abf9961528 Merge branch 'master' into lint-nested-++ 2015-12-22 16:12:07 -08:00
Nathan Shively-Sanders 401a393519 Fix ++/-- lint 2015-12-22 15:45:00 -08:00
Vladimir Matveev 4a963a26c3 initial revision of external module augmentations 2015-12-22 13:56:22 -08:00
Daniel Rosenwasser 80c7f3a529 Removed unused declarations from 'declarationEmitter.ts'. 2015-12-17 14:39:20 -08:00
Anders Hejlsberg 5ab5338574 Fix declaration emitter scoping issue for type parameter constraints 2015-12-10 13:55:57 -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 d1c467ff4d Merge branch 'master' into use-common-directory-for-out 2015-11-25 16:41:58 -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
Wesley Wigham b11786866b Merge branch 'master' into use-common-directory-for-out 2015-11-20 13:32:12 -08:00
Ron Buckton f5b8619199 Adds StringLiteralType to SyntaxKind to disambiguate string literals in a type position. 2015-11-19 17:08:51 -08:00
Sheetal Nandi 883b8d9347 Merge pull request #5471 from Microsoft/jsFileCompilation
Compilation of Js Files
2015-11-19 16:30:40 -08:00
Sheetal Nandi 5ac6eb2d79 PR feedback 2015-11-18 10:48:03 -08:00
Ron Buckton 443abe6dea Adds ThisType to SyntaxKind, to distinguish between a 'this' expression and a 'this' type. Needed for transforms 2015-11-17 10:53:29 -08:00
Wesley Wigham 78e7804668 handle things more rightly 2015-11-13 15:46:48 -08:00
Wesley Wigham cb1724bd44 in declaration emit, handle = require (again) 2015-11-13 15:26:38 -08:00
Sheetal Nandi fc07763499 Merge branch 'master' into jsFileCompilation 2015-11-13 13:44:57 -08:00
Wesley Wigham 977c3eec22 fix lints 2015-11-09 12:50:38 -08:00
Wesley Wigham cadf54334b Merge branch 'master' into out-module-concat 2015-11-09 12:38:23 -08:00
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
Sheetal Nandi 4c842591f7 Merge branch 'master' into jsFileCompilation 2015-11-06 12:39:42 -08:00
Wesley Wigham 8a93b48945 fix lint: prefer const 2015-11-04 14:51:36 -08:00
Wesley Wigham 6f9702112f Merge branch 'master' into out-module-concat 2015-11-02 16:57:07 -08:00
Wesley Wigham 265fb518a8 feedback from CR 2015-11-02 16:54:12 -08:00
Wesley Wigham 6de5221dcd dont mutate 2015-11-02 12:53:27 -08:00
Martin Vseticka 1703972dd2 Preserve copyright comments when generating d.ts files 2015-11-02 17:07:16 +01:00
Sheetal Nandi 2b582a0b71 Simplifty declaration emitter logic by using forEachExpectedEmitFile 2015-10-30 15:04:46 -07:00
Sheetal Nandi 06bf08c17f Simplify logic to get declaration diagnostis 2015-10-30 13:43:52 -07:00
Sheetal Nandi 94a647b72b Do not emit declarations for javascript files 2015-10-30 11:36:39 -07:00
Sheetal Nandi fdb7a3e452 Revert the change to block declaration emit in case of syntax or semantic errors 2015-10-28 16:52:05 -07:00
Sheetal Nandi ff933be5ff Populate if emit was skipped correctly as part of emit result 2015-10-28 13:07:50 -07:00
Sheetal Nandi c26d2da572 Do not emit declarations file if we reported error about inaccessible This type 2015-10-28 13:07:27 -07:00
Sheetal Nandi 3215438ddf Dont emit declaration file if there are errors in the source file 2015-10-28 13:06:52 -07:00
Wesley Wigham c165be8b3a change triple-slash ref emit critaera, add a new tests and accept new baselines 2015-10-21 17:36:49 -07:00
Wesley Wigham 255cde582d remove assertion 2015-10-21 16:15:53 -07:00
Wesley Wigham 3f52686974 cleanup a bit, think toward the future 2015-10-21 15:37:58 -07:00