335 Commits

Author SHA1 Message Date
Sheetal Nandi
61994a7e62 Show the type information in places where there is no symbol associated 2014-10-03 15:50:38 -07:00
Sheetal Nandi
0dbd303084 Fix the quick info on error types 2014-09-30 17:14:58 -07:00
Vladimir Matveev
dae98be062 Merge pull request #737 from Microsoft/instanceof_cascading_errors
do not report cascading errors in instanceof operator
2014-09-24 11:09:21 -07:00
Jason Freeman
7bd7d4605e Merge pull request #726 from Microsoft/sigHelp
Signature help in the new compiler
2014-09-24 10:58:50 -07:00
Jason Freeman
22e989795d Merge branch 'master' into sigHelp
Conflicts:
	src/compiler/checker.ts
	src/compiler/types.ts
	src/services/services.ts
2014-09-24 10:47:41 -07:00
Vladimir Matveev
649f5c01a4 do not report cascading errors in instanceof operator 2014-09-24 09:10:40 -07:00
Vladimir Matveev
ef6a87cdfb use operator token when checking unary expressions in strict mode 2014-09-24 08:52:02 -07:00
Jason Freeman
de2ac51924 Change NodeArray to have a hasTrailingComma property instead of an OmittedExpression 2014-09-23 19:40:25 -07:00
Mohamed Hegazy
12572576c8 fix comment text 2014-09-23 13:44:39 -07:00
Mohamed Hegazy
a6fdad1e97 Added protected conformance tests 2014-09-23 11:22:38 -07:00
Mohamed Hegazy
95394220b4 Merge branch 'release-1.1'
Conflicts:
	Jakefile
	src/compiler/tsc.ts
2014-09-22 14:55:28 -07:00
Cyrus Najmabadi
0282b51c68 Updated test baselines. 2014-09-19 17:58:41 -07:00
Cyrus Najmabadi
4aa7c6693c Updating baselines. 2014-09-19 17:58:16 -07:00
Cyrus Najmabadi
e426c83017 Merge branch 'master' into fidelityParser 2014-09-19 17:53:07 -07:00
Anders Hejlsberg
7cc6bbb4d1 Merge pull request #688 from Microsoft/protectedMembers
Support for protected members in classes
2014-09-19 14:43:53 -07:00
Anders Hejlsberg
b5b0777ad5 More tests for protected members 2014-09-19 14:01:07 -07:00
Mohamed Hegazy
68687395b8 handle cases where we have a node with width 0 when reporting grammar errors 2014-09-19 09:44:47 -07:00
Anders Hejlsberg
ddfe28db66 Accepting new baselines 2014-09-19 06:37:55 -07:00
Cyrus Najmabadi
0e9134788a Port fidelity changes to github. 2014-09-18 15:37:16 -07:00
Anders Hejlsberg
08188b0142 Merge branch 'master' into protectedMembers 2014-09-17 17:05:45 -07:00
Mohamed Hegazy
deaa58b1a0 Merge branch 'master' into completionFixes
Conflicts:
	tests/baselines/reference/enumConflictsWithGlobalIdentifier.errors.txt
	tests/baselines/reference/enumMemberResolution.errors.txt
2014-09-17 14:44:17 -07:00
Jason Freeman
b1f243d814 Merge branch 'release-1.1'
Conflicts:
	src/harness/harness.ts
	tests/baselines/reference/typeName1.errors.txt
2014-09-17 14:10:47 -07:00
Jason Freeman
31eae88b86 Switch to createCompilerDiagnostic for an invalid root file 2014-09-17 10:44:03 -07:00
Anders Hejlsberg
ce6b6234ef Support for protected members in classes 2014-09-17 10:36:32 -07:00
Yui T
9ee63fa21d Merge branch 'master' into getEmitOutput
Conflicts:
	src/services/services.ts
2014-09-16 17:40:38 -07:00
Yui T
e75a1e3694 Change getEmitOutputBaseline 2014-09-16 15:19:41 -07:00
Mohamed Hegazy
5d577df69e Add better error recovery logic for cases with line ending with "id." followed by a declaration e.g. "class id" 2014-09-15 13:55:39 -07:00
Jason Freeman
50b0516df0 Fix test baseline 2014-09-15 11:14:33 -07:00
Anders Hejlsberg
b4cddc3903 Merge branch 'master' into tupleTypes 2014-09-15 11:04:58 -07:00
Jason Freeman
cb38c9569a Add a test to make sure types are being checked for privates 2014-09-15 10:54:44 -07:00
Jason Freeman
ba574725c2 Check that private properties originate in the same declaration 2014-09-15 10:54:42 -07:00
Daniel Rosenwasser
1eb924f2d6 Adding baseline that was missed from previous merge. 2014-09-12 14:51:16 -07:00
Daniel Rosenwasser
325cdeff65 Merge pull request #668 from Microsoft/harnessMessageConsistency2
Changed Harness Output
2014-09-12 14:41:46 -07:00
Daniel Rosenwasser
9f7782d392 Added error 'prologue' to each error baseline. 2014-09-12 13:35:07 -07:00
Yui T
13cf339fdd Add getEmitOutput baselines 2014-09-12 13:20:10 -07:00
Anders Hejlsberg
b805037cf2 Improved error messages 2014-09-12 10:23:31 -07:00
Anders Hejlsberg
74536cc6ed Report circular type inference errors with -noImplicitAny 2014-09-12 07:28:49 -07:00
Daniel Rosenwasser
ee86f8b711 Harness now prints category and code when running tests. 2014-09-11 16:11:08 -07:00
Daniel Rosenwasser
96e5bd26c3 Fixed bug where function type literals may omit their '=>'. 2014-09-11 16:04:07 -07:00
Anders Hejlsberg
b61c722eec Merge pull request #649 from Microsoft/propertyAssignmentWidening
Fix widening in object literal property assignments
2014-09-11 13:10:08 -07:00
Jason Freeman
fad5650be6 Fix the error spans issue 2014-09-10 17:57:51 -07:00
Anders Hejlsberg
3d92adec7b Fix widening in object literal property assignments 2014-09-10 12:58:30 -07:00
Anders Hejlsberg
bf084f159d Merge pull request #640 from Microsoft/contextualSignatureInstantiation
Fix contextual signature instantiation during type inference
2014-09-09 18:46:42 -07:00
Sheetal Nandi
163674d07c Merge pull request #638 from Microsoft/qualificationOfMethods
Fix the condition for qualifying the symbol of methods and functions in the enclosing declaration
2014-09-09 16:21:41 -07:00
Anders Hejlsberg
2b58a239d1 Accepting new baselines 2014-09-09 15:23:24 -07:00
Anders Hejlsberg
e2c3b50ed1 Merge branch 'master' into truncateTypesInErrors
Conflicts:
	src/compiler/checker.ts
2014-09-09 13:51:08 -07:00
Sheetal Nandi
840481da3b Fix the condition for qualifying the symbol of methods and functions in the enclosing declaration
Fixes #604
2014-09-09 12:45:10 -07:00
Anders Hejlsberg
aa58dcbee0 Adding noErrorTruncation compiler option 2014-09-09 12:25:03 -07:00
Mohamed Hegazy
6fee404152 Merge pull request #602 from Microsoft/noImplicitAnyOnCast
Do not show noImplictAny errors when widening for a cast expression
2014-09-08 17:28:49 -07:00
Anders Hejlsberg
9f3d83adeb Truncate long types in error messages 2014-09-08 16:14:43 -07:00