Commit graph

241 commits

Author SHA1 Message Date
Daniel Rosenwasser
078e49dd8b Explicitly supply generic argument for 'compareValues'. 2014-08-04 18:29:58 -07:00
Daniel Rosenwasser
a1a1ea3f96 Fixed up duplicate diagnostic. 2014-08-04 18:23:59 -07:00
Daniel Rosenwasser
348d0fca21 Addressed code review feedback. 2014-08-04 17:52:58 -07:00
Daniel Rosenwasser
a64db42337 Got rid of that cscript-breaking comma. 2014-08-04 12:28:46 -07:00
Daniel Rosenwasser
e05e7836e3 Style and comments. 2014-08-04 12:20:54 -07:00
Daniel Rosenwasser
2dd9763bad Implemented --help. 2014-08-01 17:33:14 -07:00
Daniel Rosenwasser
616dae20f0 Fixed diagnostic generator; added messages. 2014-08-01 17:24:02 -07:00
Daniel Rosenwasser
91023227e4 Changed watchFile callback behavior.
We no longer recompile unless the new last-modified time is more recent.
2014-07-31 22:41:01 -07:00
Daniel Rosenwasser
f2a8842215 Addressed code review feedback. 2014-07-31 21:43:08 -07:00
Daniel Rosenwasser
617910b3d4 Support the '--watch' compiler flag. 2014-07-31 14:57:54 -07:00
Vladimir Matveev
fee596b2d5 added test for skipped node case 2014-07-31 12:01:46 -07:00
Vladimir Matveev
ed26563146 Merge pull request #317 from Microsoft/order_of_overloads
Disallow statements between overloads
fixed #75 and #92
2014-07-31 11:37:34 -07:00
Vladimir Matveev
a62b47eace addressed CR feedback: changed error message 2014-07-31 11:06:42 -07:00
Vladimir Matveev
853288b65f update LKG 2014-07-30 17:45:01 -07:00
Vladimir Matveev
59b1e46102 disallow statements between overloads 2014-07-30 16:27:13 -07:00
Daniel Rosenwasser
a87a686496 Merge pull request #304 from Microsoft/likeaversion
Print version number for --version.
2014-07-30 11:22:31 -07:00
Daniel Rosenwasser
c171c79464 Moved error checking for command line options around. 2014-07-29 16:42:38 -07:00
Daniel Rosenwasser
ef5ae6e969 Merge pull request #273 from Microsoft/es3HatesTrailingCommas
No longer emit trailing comma on object literals for ES3.
2014-07-29 16:31:17 -07:00
Daniel Rosenwasser
c5349dc95f Accept object literal commas in ES3, preserve in ES5. 2014-07-29 16:25:10 -07:00
Daniel Rosenwasser
570d2bda33 Print version number for --version. 2014-07-29 14:17:39 -07:00
Daniel Rosenwasser
fce3bdd171 Merge pull request #256 from Microsoft/ambientAccessorErrors
Gracefully handle accessor declarations in ambient classes.
2014-07-29 11:46:32 -07:00
Dan Quirk
574a082a52 Update LKG 2014-07-29 11:16:52 -07:00
Daniel Rosenwasser
fe4c738b01 No longer emit trailing comma on object literals.
This was done because trailing commas in object literals are not accepted by ES3.

Fixes #271.
2014-07-28 11:37:36 -07:00
Vladimir Matveev
df3567c7db Merge pull request #197 from Microsoft/locals_exports
Alternative proposal for grouping exported and local declarations
2014-07-28 11:26:08 -07:00
Anders Hejlsberg
fc0004749f Merge pull request #264 from Microsoft/errorOnHiddenModuleImport
Error when importing shadowed internal module.
2014-07-27 18:09:04 -07:00
Mohamed Hegazy
1f2920226d Merge pull request #253 from huerlisi/patch-1
Typo fixed in CONTRIBUTION.
2014-07-27 10:38:02 -07:00
Anders Hejlsberg
3da5f1ef6f Error when importing shadowed internal module.
Fixes #73.
2014-07-26 08:13:52 -07:00
Vladimir Matveev
e4256d827d Merge pull request #252 from Microsoft/array_symbol_links
Use symbol links to access global array type
2014-07-25 17:12:14 -07:00
Jason Freeman
9e039f53b5 Merge pull request #259 from Microsoft/canParseSemicolon
Remove isSemicolon
2014-07-25 17:09:08 -07:00
Vladimir Matveev
a2210184be comments updated 2014-07-25 17:08:35 -07:00
Jason Freeman
db53b9bc30 Merge pull request #260 from Microsoft/exportAsgnModifiers
Disallow modifiers on export assignments
2014-07-25 17:07:51 -07:00
Jason Freeman
edad1a5a86 Merge branch 'master' into canParseSemicolon 2014-07-25 17:04:22 -07:00
Jason Freeman
fbb9413d40 Merge branch 'master' into exportAsgnModifiers 2014-07-25 17:04:04 -07:00
Dan Quirk
9e1db49485 Increase test timeout to try to prevent occasional spurious Travis-CI failures 2014-07-25 17:01:01 -07:00
Vladimir Matveev
6fe8acb103 added comments 2014-07-25 16:49:35 -07:00
Vladimir Matveev
956b6398e0 localize special case (globalArrayType === undefined) in getTypeFromArrayTypeNode 2014-07-25 16:42:09 -07:00
Jason Freeman
478fadfe3d Disallow modifiers on export assignments (fix #164) 2014-07-25 16:39:24 -07:00
Jason Freeman
61731eefdf Remove isSemicolon (fix #200) 2014-07-25 16:17:30 -07:00
Jason Freeman
c1be793a04 Merge pull request #255 from Microsoft/forInError
Improve the error in a 'for in' statement
2014-07-25 15:17:49 -07:00
Jason Freeman
4ee714f4e7 Merge branch 'master' into forInError 2014-07-25 15:10:34 -07:00
Jason Freeman
34f01f262d Merge pull request #257 from Microsoft/untyped
Fix up comment about in checkCallExpression
2014-07-25 14:03:02 -07:00
Jason Freeman
936863c299 Update error message to be more consistent with others 2014-07-25 14:01:50 -07:00
Jason Freeman
aa40dc59b1 Fix up comment about bug #236 in checkCallExpression 2014-07-25 13:39:11 -07:00
Daniel Rosenwasser
fc80c300a0 Gracefully handle accessor declarations in ambient classes. 2014-07-25 13:21:55 -07:00
Anders Hejlsberg
9f22a07c92 Merge pull request #249 from Microsoft/setProcessExitCode
Properly set exit code for process.
2014-07-25 12:44:03 -07:00
Jason Freeman
b2abab2f93 Improve the error in a 'for in' statement 2014-07-25 12:38:36 -07:00
Simon Hürlimann
a2bd14d6b4 Typo fixed in CONTRIBUTION.
Simple type fix;-)
2014-07-25 21:14:52 +02:00
Vladimir Matveev
442ad4b032 use symbol links to access global array type 2014-07-25 12:06:18 -07:00
Vladimir Matveev
42df260eb5 use getEffectiveDeclarationFlags to get Export flag 2014-07-25 11:15:19 -07:00
Anders Hejlsberg
299f1c3390 Properly set exit code for process.
Supercedes #246.
Includes provisions for buggy behavior of WScript.Quit.
2014-07-25 11:01:09 -07:00