212 Commits

Author SHA1 Message Date
Anders Hejlsberg
bd97ba443a Restructuring and cleanup.
Changed binder to record catch clause instead of catch variable as symbol declaration.
Restructuring of getTypeOfVariableDeclaration and getTypeOfVariableOrParameterOrProperty methods.
Restructuring of checkFunctionExpression method.
2014-07-31 15:48:03 -07:00
Anders Hejlsberg
8199b0b236 Pull model for contextual types.
New baselines reflect a couple of unrelated bug fixes.
2014-07-29 18:21:16 -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
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
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
Anders Hejlsberg
2843b82f08 Merge pull request #226 from sparecycles/contrib/node-modules-path-4-mac
fix path in Jakefile (for mac)
2014-07-25 10:34:27 -07:00
Anders Hejlsberg
fd35c62a21 Merge pull request #230 from maxdeepfield/patch-1
Missing semicolon fix
2014-07-25 10:32:47 -07:00
Anders Hejlsberg
e0b33127b4 Merge pull request #242 from Microsoft/argumentTypeErrors
Better error messages in function calls.
2014-07-25 06:54:37 -07:00
Anders Hejlsberg
155b71881b Merging with master.
Accepting new baselines (not sure why this wasn't already done).
2014-07-25 06:48:57 -07:00
Anders Hejlsberg
f991054691 Merge branch 'master' into argumentTypeErrors 2014-07-25 06:40:51 -07:00
Anders Hejlsberg
511402cd84 Addressing CR feedback. 2014-07-24 19:39:50 -07:00
Daniel Rosenwasser
c625cd9259 Merge pull request #203 from Microsoft/arrowLookAhead
Improved lookahead for arrow functions.
2014-07-24 18:41:34 -07:00
Daniel Rosenwasser
b0c59e7c37 Merge branch 'master' into arrowLookAhead 2014-07-24 18:17:30 -07:00
Daniel Rosenwasser
b76c13cfd5 Addressed code review feedback. 2014-07-24 18:05:05 -07:00
Jason Freeman
cb98c5aa17 Merge pull request #215 from Microsoft/labelledStatements
Parser analysis and errors for labelled statements, break, continue, return
2014-07-24 17:52:39 -07:00
Jason Freeman
86007cc137 Merge branch 'master' into labelledStatements
Conflicts:
	src/compiler/diagnosticInformationMap.generated.ts
	src/compiler/diagnosticMessages.json
	src/compiler/parser.ts
2014-07-24 17:48:11 -07:00
Jason Freeman
a19698c37d Address feedback 2014-07-24 17:38:37 -07:00
Dan Quirk
98e65f2528 Fix token once more 2014-07-24 17:22:16 -07:00
Dan Quirk
0c2b04fc8b Trying different after_script command for code climate 2014-07-24 17:11:33 -07:00
Dan Quirk
89333eb4b8 Fix Code Climate token again 2014-07-24 17:04:18 -07:00
Anders Hejlsberg
a515b199b7 Better error messages in function calls.
Fixes #93.
This is an evolution of #220.
2014-07-24 17:00:03 -07:00
Dan Quirk
d81c884fef Use dot reporter for code coverage so it doesn't overflow Travis-CI's log limit 2014-07-24 16:20:13 -07:00
Dan Quirk
80ce0a9cdc Fix Code Climate token 2014-07-24 16:18:33 -07:00
Dan Quirk
0af149e1fc Turn on Code Climate integration 2014-07-24 16:04:39 -07:00
Dan Quirk
d91c59bd29 Fix minor formatting issues 2014-07-24 16:04:37 -07:00
Vladimir Matveev
a490eb29f3 Merge pull request #217 from Microsoft/strict_mode
Strict mode support
2014-07-24 13:15:49 -07:00
Vladimir Matveev
4c70d738dd Merge remote-tracking branch 'origin/strict_mode' into strict_mode 2014-07-24 13:11:34 -07:00
Vladimir Matveev
7072711cf9 updated test baselines 2014-07-24 13:09:03 -07:00
Vladimir Matveev
48ff93963b added comments 2014-07-24 13:02:37 -07:00