Commit graph

10 commits

Author SHA1 Message Date
Sheetal Nandi 3dd21fc3a7 Trailing comment tests for parameters, fixes the trailing // comments and parameter indentation 2014-08-15 13:18:54 -07:00
Sheetal Nandi adc700aba5 Emit space before emitting trailing comments 2014-08-14 16:36:33 -07:00
Sheetal Nandi 0caa1f6dc7 Emit trailing comments 2014-08-14 09:47:50 -07:00
Sheetal Nandi e27e6b2bbb During qualification if we are looking in value space, the left qualifier meaning is also value 2014-08-08 17:07:00 -07:00
Sheetal Nandi 09ea12d95c Use typeof function in the declaration emitter instead of unwinding first level 2014-08-08 16:15:09 -07:00
Sheetal Nandi 1347621d0c Report error if the entityname reference in the import declaration is using private module 2014-08-08 13:56:53 -07:00
Sheetal Nandi c643f39557 Check for the accessible symbol from exported import
eg:
// @Filename: w1.ts
export = Widget1
class Widget1 { name = 'one'; }

// @Filename: exporter.ts
export import w = require('./w1');

// @Filename: consumer.ts
import e = require('./exporter');

export function w(): e.w { // Should be OK
    return new e.w();
}

In this looking for the name of return type of function w,
not just look for the alias == SymbolOfReturnType but also
look for alias.exportedSymbols === symbolOfReturnType
and qualify it during the toString
2014-08-08 12:57:59 -07:00
Sheetal Nandi 8936662090 Enable compiler runner to report the errors from compiling generated declaration files 2014-07-17 18:16:32 -07:00
Sheetal Nandi 5a23dd0684 Check if accessible symbol needs futher qualification 2014-07-16 11:30:38 -07:00
Mohamed Hegazy 214df64e28 Add snapshot of compiler sources 2014-07-12 17:30:19 -07:00