Commit graph

39 commits

Author SHA1 Message Date
Sheetal Nandi
ff23748908 Merge pull request #1131 from Microsoft/relativePathReferenceResolution
Fix the relative path reference resolution
2014-11-20 15:59:06 -08:00
Sheetal Nandi
7d103a1a45 Remove the --noResolve check when finding the file.
--noResolve is only for ///reference and import file resolution to resolve files from disk
but the file identity is always determined before creating duplicate source file for same file paths
2014-11-20 15:43:07 -08:00
Cyrus Najmabadi
c005c33244 Better spans for import/export errors. 2014-11-20 14:27:09 -08:00
Cyrus Najmabadi
b2112f863a Move module name checks to the grammar checker.
Make some errors shorter.
2014-11-19 16:47:43 -08:00
Sheetal Nandi
264bd5db7c Merge branch 'master' into relativePathReferenceResolution 2014-11-19 13:11:17 -08:00
Sheetal Nandi
6d4e670c18 Enable baseline check and declaration emit for --noResolve case of files 2014-11-19 13:08:57 -08:00
Sheetal Nandi
e5b004899c Renamed the tests files to more generic names 2014-11-19 13:06:07 -08:00
Daniel Rosenwasser
828e31b318 Baselines, using 'unknown' as a default type. 2014-11-12 18:08:16 -08:00
Sheetal Nandi
63a20863c1 Fix the relative path reference resolution
Fixes #1039
2014-11-11 23:06:45 -08:00
Sheetal Nandi
8c2091bca5 Add tests to cover scenarios for relative path reference resolution 2014-11-11 23:06:35 -08:00
Daniel Rosenwasser
56027663bf Initial work on overload resolution with tagged templates.
Currently type argument inference breaks hard when the first parameter of a tag has a generic type.
2014-11-04 15:05:05 -08:00
Mohamed Hegazy
cffc62aa1b Report duplicate identifier errors on all locations for merged declarations to align with local declarations 2014-10-14 15:18:44 -07:00
ChrisBubernak
1b3da908de fixing baseline 2014-09-26 09:33:06 -07:00
ChrisBubernak
93db897778 Fixed some of the baselines, made file comparisons handle different
casing, put diagnostic message in correct order
2014-09-26 07:47:44 -07:00
Jason Freeman
31eae88b86 Switch to createCompilerDiagnostic for an invalid root file 2014-09-17 10:44:03 -07:00
Daniel Rosenwasser
ee86f8b711 Harness now prints category and code when running tests. 2014-09-11 16:11:08 -07:00
Anders Hejlsberg
59889d871d Corrected codegen to support shadowed module names. 2014-09-06 17:40:19 -07:00
Sheetal Nandi
0dc95ceb60 Use double quotes in declaration file's reference path generation so that quotes in file name wouldnt affect reference resolution
Fixes #474
2014-09-04 16:21:56 -07:00
Daniel Rosenwasser
7f4ae93904 Updated error reporting within harness to match that of tsc. 2014-08-22 15:32:40 -07:00
Sheetal Nandi
a11ad539c4 Emit copyright headers before anything else in the sourceFile 2014-08-19 10:43:13 -07:00
Sheetal Nandi
c4b22d338f Emit comments for expression statements 2014-08-15 15:49:09 -07:00
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
ea238c47e8 Comments for import declaration 2014-08-14 06:57:59 -07:00
Sheetal Nandi
c9d16b002d Comments for module declaration 2014-08-14 06:53:37 -07:00
Sheetal Nandi
6d6f27cdce Emit comments for class and constructor 2014-08-14 06:42:18 -07:00
Sheetal Nandi
3e95358486 Emit comments in the javascript code if --removecomments is not specified 2014-08-14 05:41:04 -07:00
Sheetal Nandi
f622cb4d11 Merge pull request #381 from branch 'remote/privacyErrors'
Report privacy errors on variable/property declarations and also emit import declarations that get used to defined visible type
2014-08-13 18:48:05 -07:00
Adam Freidin
785b80ff27 baseline update
jake runtests
jake baseline-accept
2014-08-12 13:57:47 -07:00
Sheetal Nandi
54f5f15796 Update the project runner to emit errors in more readable way 2014-08-07 17:49:47 -07:00
Sheetal Nandi
2264322380 Enable project runner to compile generated .d.ts files
Uncovered bug in quoted .d.ts compilation
2014-08-07 17:26:29 -07:00
Sheetal Nandi
5d21db9ccf Test baselines after asynchronous alias declaration writing 2014-08-06 13:16:41 -07:00
Sheetal Nandi
0b227d5196 Test baselines because of change 2014-08-06 13:12:34 -07:00
Sheetal Nandi
d8f3481d38 Check if there is alias symbol in the scope corresponding to the symbol whose name we are trying to get in the symbol table 2014-07-16 11:30:34 -07:00
Sheetal Nandi
2273355df4 Start emitting qualified path if the current symbol is not visible in enclosing declaration
Note that this doesnt handle aliases yet.
2014-07-16 11:30:14 -07:00
Sheetal Nandi
574c075dba Emit the types in declaration file 2014-07-15 13:08:10 -07:00
Sheetal Nandi
ea7c23eb63 Emit global context declarations into the declaration file 2014-07-15 08:57:12 -07:00
Mohamed Hegazy
214df64e28 Add snapshot of compiler sources 2014-07-12 17:30:19 -07:00