971 Commits

Author SHA1 Message Date
Yui T
48002d4d48 Fix language service; doesn't capture declaration emit errors 2014-09-18 12:41:41 -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
Mohamed Hegazy
837aaff090 Merge pull request #687 from DickvdBrink/unused-vars
Remove some unused variables
2014-09-17 11:13:21 -07:00
Jason Freeman
85ead1e043 Update LKG v1.1 2014-09-17 10:57:43 -07:00
Dick van den Brink
d16dcaaf1d Remove some unused variables 2014-09-17 19:55:03 +02:00
Jason Freeman
31eae88b86 Switch to createCompilerDiagnostic for an invalid root file 2014-09-17 10:44:03 -07:00
Yui
aa02ab5886 Merge pull request #650 from Microsoft/getEmitOutput
GetEmitOutput And Testfiles
2014-09-16 17:46:01 -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
07e3c7f6e5 Merge pull request #677 from Microsoft/navigateTo
Add implementation for getNavigateToItems for the new compiler
2014-09-16 16:57:17 -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
0ef50efae1 Minor fix on checking getEmitOutputWriter 2014-09-16 16:04:24 -07:00
Yui T
e75a1e3694 Change getEmitOutputBaseline 2014-09-16 15:19:41 -07:00
Yui T
58f155d06b Update checking for semanticErrors and fix spelling 2014-09-16 15:19:02 -07:00
Mohamed Hegazy
d8d1ed399c Respond to code review comments 2014-09-16 14:27:05 -07:00
Yui T
54dcf39674 Add getCurrentDirectory and getDefaultLibFilename into interface for host 2014-09-16 13:19:49 -07:00
Vladimir Matveev
fdc9b9d285 Merge pull request #671 from Microsoft/new_smart_indentation
LS: smart indentation
2014-09-16 11:33:37 -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
Yui T
94723a9ad1 Remove concatenation of syntacticErrors instead return immediately if encountering any error 2014-09-16 10:28:05 -07:00
CyrusNajmabadi
f89804e074 Merge pull request #672 from Microsoft/getSyntacticClassifications
Add support for syntactic classification.
2014-09-15 18:56:25 -07:00
Cyrus Najmabadi
38d29249a4 CR feedback. 2014-09-15 18:52:07 -07:00
Vladimir Matveev
e369e369cc split 'find' function into 'find' and 'findRightmostChildNodeWithTokens' 2014-09-15 18:21:45 -07:00
Cyrus Najmabadi
7be2d2866b Classification tests. 2014-09-15 17:39:48 -07:00
Cyrus Najmabadi
ebb0beb203 Adding classification tests. 2014-09-15 17:23:38 -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
Daniel Rosenwasser
7f12b6dd31 Spelling corrections. 2014-09-15 15:44:42 -07:00
Vladimir Matveev
685d131f4a addressed CR feedback: use isDeclaration from parser, drop 'useTabs' check 2014-09-15 12:18:09 -07:00
Jason Freeman
50b0516df0 Fix test baseline 2014-09-15 11:14:33 -07:00
Anders Hejlsberg
11b9118cab Merge pull request #428 from Microsoft/tupleTypes
Adding support for tuple types (e.g. [number, string])
2014-09-15 11:12:43 -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
9825342d89 Adding semantic classification. 2014-09-12 18:28:54 -07:00
Cyrus Najmabadi
a6497d8b09 Add support for syntactic classification.
Tests pending.
2014-09-12 17:19:48 -07:00
Vladimir Matveev
c21b4abb50 update JakeFile 2014-09-12 16:29:39 -07:00
Vladimir Matveev
54b8c73a78 when looking for a start node consider only nodes that can contribute to indentation 2014-09-12 16:18:06 -07:00
Vladimir Matveev
cd663f07f3 minor code cleanup 2014-09-12 15:41:46 -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
c277db03b7 Merge pull request #659 from Microsoft/functionTypeLiteralsNeedArrows
Fixed bug where function type literals may omit their '=>'.
2014-09-12 14:36:26 -07:00
Daniel Rosenwasser
9f7782d392 Added error 'prologue' to each error baseline. 2014-09-12 13:35:07 -07:00
Vladimir Matveev
221f805d09 remove singleTokenIndenter.ts 2014-09-12 13:28:39 -07:00
Yui T
13cf339fdd Add getEmitOutput baselines 2014-09-12 13:20:10 -07:00
Yui T
2ad20d2e6b Fix declaring function for writer and setting writer to undefined 2014-09-12 13:19:26 -07:00
Anders Hejlsberg
b9ebb367c0 Merge pull request #665 from Microsoft/circularTypeInferenceErrors
Report circular type inference errors with -noImplicitAny
2014-09-12 13:15:17 -07:00