Cyrus Najmabadi
ceeeb9cd11
Always preserve new lines for array and object literals and additional constructs like blocks.
2015-03-26 13:46:35 -07:00
Ron Buckton
f531193557
Updates to emit and updated baselines
2015-03-24 17:00:29 -07:00
Ron Buckton
0fb624a58b
PR feedback
2015-03-19 22:57:03 -07:00
Ron Buckton
6c32a8bdb0
Updated baselines
2015-03-17 14:21:08 -07:00
Cyrus Najmabadi
c371f1e521
Make the preservation of formatting an optional experimental compiler flag.
2015-03-08 19:06:55 -07:00
Anders Hejlsberg
5c56684187
Merge branch 'master' into exportDefault
...
Conflicts:
tests/baselines/reference/exportAssignDottedName.errors.txt
2015-03-06 17:20:44 -08:00
Bill Ticehurst
0ba3a04c54
Fixed baselines to account for correct path normalization
2015-03-06 13:37:12 -08:00
Anders Hejlsberg
daacd8005c
Accepting new baselines
2015-03-03 15:27:50 -08:00
Anders Hejlsberg
43af8716d0
Accepting new baselines
2015-03-02 12:21:53 -08:00
Anders Hejlsberg
e8cc2bf5f7
Merge branch 'master' into es6Import
2015-02-10 16:17:50 -08:00
Anders Hejlsberg
e30fc4142e
Accepting new baselines
2015-02-08 12:14:29 -08:00
Cyrus Najmabadi
36b6f4e1b7
Preserve single line blocks when emitting.
2015-02-06 18:45:09 -08:00
Cyrus Najmabadi
337a99f62a
Change the API for getting diagnostics so that all calls go through a Program instance.
2015-02-05 01:47:29 -08:00
Cyrus Najmabadi
3cadb3c30c
Use a diagnostics collection inside the program instance.
2015-02-04 18:12:13 -08:00
Cyrus Najmabadi
5343336763
Baseline updates now that we no longer have early errors.
2015-02-02 15:15:54 -08:00
Anders Hejlsberg
ee6f2faabb
Accepting baselines for corrected error messages
2015-01-15 17:19:22 -08:00
Yui T
d7f607234a
COMPLETE migrating grammar checking; No more errors
2014-12-16 19:30:08 -08:00
Cyrus Najmabadi
f1a2e41a8a
Sort diagnostics in our baseline output.
...
This was we don't get noisy baselines just because a different phase of the compiler reported
the diagnostic.
This helps with Yui's refactoring work to move grammar checks into the type checker.
2014-12-16 15:56:56 -08:00
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