Commit graph

77 commits

Author SHA1 Message Date
Jason Freeman
91d31c7f51 Add error about missing module flag to createProgram 2014-07-21 09:38:59 -07:00
Sheetal Nandi
9fd95fcb95 Report errors if the type parameter uses constraint that is using private type/module
Fixes #86
2014-07-18 18:11:04 -07:00
Sheetal Nandi
09ec1bb9ae Report error on Class/Interface heritage clause if it cant be accessed
Fixes #78 and #83
2014-07-18 18:07:38 -07:00
Sheetal Nandi
999b7fed92 Checker and emitter changes to report errors on inaccessibility of symbols when writing types in declaration file 2014-07-18 18:06:37 -07:00
Sheetal Nandi
bbb36dc933 Make the symbol writing api on the text writer 2014-07-18 17:50:12 -07:00
Vladimir Matveev
36c22d10c7 emit 'use strict' at the beginning of the function 2014-07-18 16:59:52 -07:00
Mohamed Hegazy
91b8a4531f Merge pull request #145 from Microsoft/restConstructorParam
Issue #144: Do not emit the name of the rest paramter in constructors
2014-07-18 09:57:49 -07:00
Mohamed Hegazy
c9c0166b04 fix typo in function name 2014-07-18 09:56:18 -07:00
Sheetal Nandi
3665e45d19 Merge pull request #141 from Microsoft/typoInDeclFileEmit
Fixed the typo in declaration emitter of implements clause
2014-07-17 22:21:51 -07:00
Mohamed Hegazy
b744633656 Issue# 144: Do not emit the name of the rest paramter in constructors 2014-07-17 19:54:21 -07:00
Sheetal Nandi
586b773fbe Fixed the typo in declaration emitter of implements clause 2014-07-17 18:16:24 -07:00
Vladimir Matveev
4068404cd4 emit prologue directives as first lines in file 2014-07-17 17:43:48 -07:00
Sheetal Nandi
96700069fc renamed isEmitToOwnFile to shouldEmitToOwnFile as per feedback 2014-07-17 12:53:07 -07:00
Sheetal Nandi
b7feb1555b Renamed emitToOwnOutputFile to isEmitToOwnOutputFile 2014-07-17 09:27:28 -07:00
Sheetal Nandi
d9196d66b6 Moved the emit functionality into emitFiles 2014-07-16 15:39:14 -07:00
Sheetal Nandi
fe1fea3710 Merge pull request #30 from Microsoft/declarations
Changes to determine when to qualify the symbol in given enclosing declaration
2014-07-16 15:20:00 -07:00
Sheetal Nandi
148abea09d Use the isDeclarationVisible in checker to determine if the declaration needs to be emitted
This would help in unifying logic of when to check if the type is visible
2014-07-16 11:37:49 -07:00
Anders Hejlsberg
c1d0fd979d More I/O fixes
Support for --charset command line option
File read and write errors are propagated into compiler diagnostics
emitFiles returns diagnostics in EmitResult
2014-07-16 10:57:05 -07:00
Sheetal Nandi
574c075dba Emit the types in declaration file 2014-07-15 13:08:10 -07:00
Sheetal Nandi
455364cf5a Do not emit the signature for implementation of overload in the declaration file 2014-07-15 08:58:02 -07:00
Sheetal Nandi
d1cdf03d53 Correct the external module check to determine if declaration is part of export assignment 2014-07-15 08:57:48 -07:00
Sheetal Nandi
bb7f7fb8dd Correct the condition for variable statement emit in the declaraiton file 2014-07-15 08:57:39 -07:00
Sheetal Nandi
cd14e36460 Emit alias declaration if its name is used as identifier of export assignment 2014-07-15 08:57:30 -07:00
Sheetal Nandi
063399d228 Emit declaration if its identifier is used in export assignment of external module 2014-07-15 08:57:22 -07:00
Sheetal Nandi
ea7c23eb63 Emit global context declarations into the declaration file 2014-07-15 08:57:12 -07:00
Daniel Rosenwasser
ef67d5740e Support emit for trailing comma in array literals. 2014-07-14 14:26:17 -07:00
Mohamed Hegazy
214df64e28 Add snapshot of compiler sources 2014-07-12 17:30:19 -07:00