Commit Graph
492 Commits
Author SHA1 Message Date
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
Yui T 9ee63fa21d Merge branch 'master' into getEmitOutput
Conflicts:
	src/services/services.ts
2014-09-16 17:40:38 -07:00
Yui T bf37eb4c4b Fix space formatting 2014-09-16 17:29:45 -07:00
Mohamed Hegazy 50a4926eaf Merge branch 'master' into navigateTo
Conflicts:
	src/services/services.ts
2014-09-16 16:54:01 -07:00
Yui T 58f155d06b Update checking for semanticErrors and fix spelling 2014-09-16 15:19:02 -07:00
Vladimir Matveev 08f446ddf7 resolve merge conflicts 2014-09-16 11:27:58 -07:00
Vladimir Matveev f3aba2177e merge with master 2014-09-16 11:24:00 -07:00
Mohamed Hegazy 706ca8eae9 use NodeFlags.AccessibilityModifier in places where we need NodeFlags.Private | NodeFlags.Public 2014-09-16 10:55:47 -07:00
Mohamed Hegazy 1dc7ab04b2 Add implementation of getNavigateToItems based on the new compiler 2014-09-16 10:54:54 -07:00
CyrusNajmabadi f89804e074 Merge pull request #672 from Microsoft/getSyntacticClassifications
Add support for syntactic classification.
2014-09-15 18:56:25 -07:00
Vladimir Matveev c4e6ad8dd9 address CR feedback: renames, handle smart indentation in type argument lists in type references 2014-09-15 16:08:33 -07:00
Daniel Rosenwasser 358733fda3 Merge branch 'master' into getOccurrencesLoopBreakContinue 2014-09-15 16:01:05 -07:00
Vladimir Matveev 685d131f4a addressed CR feedback: use isDeclaration from parser, drop 'useTabs' check 2014-09-15 12:18:09 -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
Vladimir Matveev aa7ffdba4c address CR feedback 2014-09-12 22:45:52 -07:00
Cyrus Najmabadi a6497d8b09 Add support for syntactic classification.
Tests pending.
2014-09-12 17:19:48 -07:00
Daniel Rosenwasser 5e7e5c5f51 Addressed CR feedback. 2014-09-12 13:07:57 -07:00
Yui T 0b06ddcc9a Fix getEmitOutput to only output one file except when 'out' flag is specified. Add testcases 2014-09-12 12:57:00 -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 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
Daniel Rosenwasser 0af26bcb8b Merge branch 'master' into getOccurrences 2014-09-11 11:11:00 -07:00
Daniel Rosenwasser 480aac9ede Merge branch 'master' into getOccurrences 2014-09-11 11:04:01 -07:00
Vladimir Matveev 24c40bb4bc added optional 'sourceFile' argument to methods of Node to avoid unnecesary tree walk 2014-09-10 23:13:41 -07:00
Daniel Rosenwasser dae34875b4 Minor CR feedback addressed. 2014-09-10 18:59:12 -07:00
Jason Freeman fad5650be6 Fix the error spans issue 2014-09-10 17:57:51 -07:00
Jason Freeman c27379827b Add asserts for bounds on diagnostics 2014-09-10 16:44:57 -07:00
Yui T 7ab51c6e2b Merge from master 2014-09-10 15:58:14 -07:00
Yui T cf2214bba0 Change getCurrentDirectory and getDefaultLibname from passing around
function to its final value
2014-09-10 15:58:12 -07:00
Yui T 271bb29c94 Minor spelling and spacing fix 2014-09-10 15:58:09 -07:00
Yui T 0435c14081 Add getEmitOutput and update call to getCurrentDirectory 2014-09-10 15:58:07 -07:00
Anders Hejlsberg b9ae6cec17 Adding a comment 2014-09-10 13:14:30 -07:00
Anders Hejlsberg 3d92adec7b Fix widening in object literal property assignments 2014-09-10 12:58:30 -07:00
Yui T 6cba535f20 Fix spelling 2014-09-10 09:57:36 -07:00
Yui T 6ef41a74c7 Move checking semantic diagnostics into emitFiles function rather than
getEmitOutput
2014-09-10 09:57:26 -07:00
Yui T 537f55cede Change getCurrentDirectory and getDefaultLibname from passing around
function to its final value
2014-09-10 09:57:24 -07:00
Yui T 451f92bc24 Expose function shouldEmitToOwnFile to be called in services.ts 2014-09-10 09:57:16 -07:00
Yui T 2acd98e03e Minor spelling and spacing fix 2014-09-10 09:54:42 -07:00
Yui T d52fe20df3 Add getEmitOutput and update call to getCurrentDirectory 2014-09-10 09:54:34 -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 34c4b312f9 Fix contextual signature instantiation during type inference 2014-09-09 15:17:33 -07:00
Anders Hejlsberg e2c3b50ed1 Merge branch 'master' into truncateTypesInErrors
Conflicts:
	src/compiler/checker.ts
2014-09-09 13:51:08 -07:00
Daniel Rosenwasser 83c35ad059 Addressed CR feedback. 2014-09-09 12:50:14 -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