Vladimir Matveev
c56b4165ec
disambiguate: 'implements' starts heritage clause vs 'implements' is a class name
2015-09-21 22:22:25 -07:00
Vladimir Matveev
2f7556256a
removed duplicate function implementation
2015-09-21 21:30:10 -07:00
Wesley Wigham
8ff551ce08
merge with master
2015-09-21 17:38:56 -07:00
Wesley Wigham
d409ba785c
Delete generated file, add to gitignore
2015-09-21 16:58:45 -07:00
Yui T
a3f5666a80
remove unnecessary union
2015-09-21 16:47:23 -07:00
Vladimir Matveev
d57ceb1d32
extend the list of extensions for module file names in node_modules folder
2015-09-21 16:10:03 -07:00
Yui T
072089f0ec
Downlevel emit for **=
2015-09-21 15:43:49 -07:00
Yui T
1140eb8177
Parse ES7 UnaryExpression and IncrementExpression
2015-09-21 15:43:33 -07:00
Daniel Rosenwasser
c2f46c3ad9
Merge pull request #4886 from Microsoft/diagnosticDuplicateCodes
...
Fix duplicate codes in diagnostics
2015-09-21 15:40:30 -07:00
Anders Hejlsberg
9438a4bce0
Polymorphic "this" type
2015-09-21 14:29:31 -07:00
Mohamed Hegazy
45d96a18ac
Merge branch 'fix-capitalization' of https://github.com/punya/TypeScript into punya-fix-capitalization
2015-09-21 02:00:58 -07:00
Daniel Rosenwasser
942ca46637
Fixed duplicate diagnostic codes.
2015-09-20 12:16:56 -07:00
Daniel Rosenwasser
92f5f59a07
Merge pull request #4875 from jbondc/utilities-typos
...
Utilities typos + missing reference
2015-09-19 10:04:41 -07:00
jbondc
921adc89e8
Utilities typos + missing reference
2015-09-19 11:43:15 -04:00
Yui T
21d03690c0
Basic parsing for the UnaryExpression: IncrementExpression[?Yield]**UnaryExpression[?Yield]
2015-09-18 18:38:59 -07:00
Yui T
76ef7b40de
Initial operator. Need to fix the grammar for unaryExpression
2015-09-18 18:31:52 -07:00
Daniel Rosenwasser
f88f029fdf
Merge pull request #4862 from Microsoft/contextuallyTypeMethodDeclarations
...
Contextually type method declaration parameters in object literals
2015-09-18 12:34:40 -07:00
Daniel Rosenwasser
254af55204
Added missing predicate for contextual types of parameters.
2015-09-18 12:22:57 -07:00
Daniel Rosenwasser
2aa97bd1b9
Use custom type guard.
2015-09-18 12:22:52 -07:00
Wesley Wigham
04b0aa269f
s/var/let
2015-09-18 10:29:54 -07:00
Punya Biswal
55218d64a5
Fix capitalization of minimumintegerDigits
2015-09-18 08:42:42 -04:00
Mohamed Hegazy
98db640a2c
Fix documentation
2015-09-17 16:14:46 -07:00
Mohamed Hegazy
6969986bf0
Use intersection types in Object.assing defintion
2015-09-17 16:14:39 -07:00
Wesley Wigham
8d6cb5fbb5
Feedback from PR
2015-09-17 13:26:04 -07:00
Wesley Wigham
f2b901a3c7
reverts 60a120f
, reexposes es6 option
2015-09-17 13:14:31 -07:00
Wesley Wigham
f3062c59fd
style nits
2015-09-17 13:03:47 -07:00
Wesley Wigham
5dfca610f9
When targeting ES3 emit default alias as indexer
2015-09-16 17:33:49 -07:00
Wesley Wigham
75a5c2229c
Fix import/export assignment checks to look at module kind rather than language version
2015-09-16 11:24:41 -07:00
Wesley Wigham
60a120f22a
remove es6 as option from command line
2015-09-16 11:08:03 -07:00
Daniel Rosenwasser
c9170b81a8
Merge pull request #4815 from basarat/patch-1
...
fix types : export the base as children are exported
2015-09-15 20:42:19 -07:00
Basarat Ali Syed
32048ca5ac
fix types : export the base as children are exported
2015-09-16 10:57:54 +10:00
Mohamed Hegazy
5b5d876cc2
more code review comments
2015-09-15 17:47:50 -07:00
Mohamed Hegazy
a93ab613fe
Merge branch 'master' into iocaptureFixes
2015-09-15 17:41:34 -07:00
Wesley Wigham
48ba708e5e
Add es6 module kind, stop using script version to infer it
2015-09-15 15:36:37 -07:00
Daniel Rosenwasser
45ecce4710
Merge pull request #4809 from Microsoft/mergeFromRelease1.6
...
Merge from release-1.6
2015-09-15 15:16:44 -07:00
Daniel Rosenwasser
00dcb57e3b
Bump version back to 1.7.0.
2015-09-15 15:08:48 -07:00
Daniel Rosenwasser
38b605ea7d
Merge branch 'release-1.6'
...
Conflicts:
src/compiler/diagnosticInformationMap.generated.ts
src/compiler/diagnosticMessages.json
src/compiler/program.ts
tests/baselines/reference/emptyObjectBindingPatternParameter04.symbols
tests/baselines/reference/emptyObjectBindingPatternParameter04.types
tests/baselines/reference/nodeResolution5.errors.txt
tests/baselines/reference/nodeResolution7.errors.txt
2015-09-15 13:36:08 -07:00
Mohamed Hegazy
c735a98523
Respond to code review comments
2015-09-15 12:47:11 -07:00
Mohamed Hegazy
c1e536f255
code review comments
2015-09-15 12:33:45 -07:00
Mohamed Hegazy
ce8641f261
Merge branch 'master' into iocaptureFixes
2015-09-15 12:15:53 -07:00
Mohamed Hegazy
4c1089f781
Merge branch 'master' into cleanHarnessOptionLoading
...
Conflicts:
tests/cases/compiler/pinnedComments1.ts
2015-09-15 12:08:37 -07:00
Mohamed Hegazy
ee5881ef9c
Merge branch 'master' into cleanHarnessOptionLoading
...
Conflicts:
src/harness/harness.ts
2015-09-14 16:53:08 -07:00
Vladimir Matveev
89718cf5a5
Merge pull request #4758 from Microsoft/updateErrorText
...
update error message text when external typings file in node package is not module
2015-09-14 15:40:11 -07:00
Vladimir Matveev
5636655cf4
report error if module name is empty
2015-09-14 14:33:35 -07:00
Mohamed Hegazy
d9112f5e98
use resolvePath to handel relative references correctelly
2015-09-13 23:35:22 -07:00
Mohamed Hegazy
7ae902d75a
Handel compiler options correctelly
2015-09-13 23:26:52 -07:00
Mohamed Hegazy
0d126e2ad7
add support for tsconfig files in the rwc instrumenter/replay
2015-09-12 14:40:05 -07:00
Vladimir Matveev
d37eaa8d70
update error message text
2015-09-12 12:46:18 -07:00
Mohamed Hegazy
36acaff6dc
Add wrapSystem function
2015-09-12 05:23:53 -07:00
Mohamed Hegazy
62b9b556c8
use sting templates
2015-09-12 05:21:08 -07:00
Vladimir Matveev
5b764205fe
Merge pull request #4750 from Microsoft/Port-4749
...
Port PR 4749 into release-1.6
2015-09-11 10:21:20 -07:00
Vladimir Matveev
90273f995d
Merge pull request #4749 from Microsoft/systemExportOnlyValues
...
Emit export specifiers in system modules only if export has a value side
2015-09-11 10:21:11 -07:00
Vladimir Matveev
026632bca8
Merge pull request #4738 from Microsoft/properExternalModules
...
Check if imported file is a proper external module for imported node typings
2015-09-11 10:20:42 -07:00
Vladimir Matveev
0e5196180e
emit export specifiers in system modules only if export has a value side
2015-09-11 09:38:51 -07:00
Vladimir Matveev
c72469a66f
emit export specifiers in system modules only if export has a value side
2015-09-11 09:36:17 -07:00
Anders Hejlsberg
dcb9e1c7a5
Merge pull request #4598 from Microsoft/destructuringInitializers
...
Improved checking of destructuring with literal initializers
2015-09-11 09:12:45 -07:00
Vladimir Matveev
a880be1f75
resolve merge conflicts, update tests
2015-09-10 21:53:49 -07:00
Vladimir Matveev
031fdf19e0
addressed PR feedback
2015-09-10 21:53:15 -07:00
Vladimir Matveev
98f31635f8
Check if imported file is a proper external module
2015-09-10 21:46:03 -07:00
Vladimir Matveev
4b5c2fe31c
reattach file diagnostics for modified files when reusing program structure
2015-09-10 21:29:52 -07:00
Anders Hejlsberg
262f122d99
Adding "." to error message
2015-09-10 17:03:13 -07:00
Vladimir Matveev
87e1569d1f
resolve merge conflicts, update tests
2015-09-10 17:00:29 -07:00
Vladimir Matveev
04949a005c
Merge remote-tracking branch 'origin/master' into properExternalModules
2015-09-10 16:42:17 -07:00
Vladimir Matveev
297c60ea01
addressed PR feedback
2015-09-10 16:42:02 -07:00
Ron Buckton
7610048997
Allow decorators in ES3
2015-09-10 16:27:35 -07:00
Anders Hejlsberg
d5ff9ee1e1
Error when binding element has no value in initializer and no default
2015-09-10 16:22:50 -07:00
Anders Hejlsberg
aa434a17a0
Merge pull request #4716 from Microsoft/optimizeFreshTypeRelation
...
Only obtain regular type of fresh object literal type if necessary
2015-09-10 16:14:29 -07:00
Vladimir Matveev
e0c16b4332
Check if imported file is a proper external module
2015-09-10 16:00:44 -07:00
Vladimir Matveev
c90276f73c
Merge pull request #4705 from Microsoft/keywordInJsxIdentifier
...
allow jsx identifiers to start with keywords
2015-09-10 15:00:09 -07:00
Daniel Rosenwasser
a4331fd2e2
Merge pull request #4735 from Microsoft/commandLineCrashModuleResolution
...
Fix command line crash with invalid '--moduleResolution' option
2015-09-10 14:38:30 -07:00
Yui
047b6ace6a
Merge pull request #3883 from Microsoft/omitComments
...
Do not emit /// comments when remove comments is specified
2015-09-10 14:34:53 -07:00
Daniel Rosenwasser
535efd1b5d
Encode the conditional presence of 'error' in the type system.
2015-09-10 14:28:57 -07:00
Daniel Rosenwasser
4b15c5f628
Added error for bad argument, fixed diagnostic for '--help' message.
2015-09-10 14:23:33 -07:00
Mohamed Hegazy
c18051d5ff
Update version to 1.6.2
2015-09-10 14:22:31 -07:00
Daniel Rosenwasser
fae7a129eb
Assert condition to track root cause of issue.
2015-09-10 13:50:12 -07:00
Mohamed Hegazy
7e1739604a
Fix #4727 : prerocess export import
declarations correctelly
2015-09-10 13:24:45 -07:00
Yui T
40f05b7f7d
Address CR
2015-09-10 13:05:51 -07:00
Daniel Rosenwasser
bed25ddf18
Merge pull request #4641 from vilic/cast-expression-parentheses-with-numeric-literal
...
Do not omit parentheses for numeric literal with ".property" if it can not be followed by dot operator directly.
2015-09-10 12:14:49 -07:00
Vladimir Matveev
87890af5b4
Merge pull request #4723 from Microsoft/inheritDiagnostics
...
inherit file processing diagnostics from the old program when reusing program structure
2015-09-10 12:06:43 -07:00
vilicvane
c3323c9a69
Keep parentheses for all numeric literals with property access expression
2015-09-11 03:06:13 +08:00
Vladimir Matveev
5989d48267
addressed PR feedback
2015-09-10 12:05:23 -07:00
Vladimir Matveev
ee56e60ca0
do not emit '=' in jsx attribute if initializer is missing
2015-09-10 11:39:06 -07:00
Vladimir Matveev
6a77400980
Merge pull request #4703 from Microsoft/jsxEmitAttribiteWithInitializer
...
do not emit '=' in jsx attribute if initializer is missing
2015-09-10 11:37:36 -07:00
Denis Nedelyaev
6a9bd1432c
Simple fix for #4721
...
This makes relative outDir and other file path options not ignored when they point to the working directory.
No tests are failed.
Another way to fix this is to use `options.somePathOprtion !== undefined` check everywhere, but it would be a more complex change.
What do you think?
2015-09-10 21:16:16 +03:00
Vladimir Matveev
6e24570135
reattach file diagnostics for modified files when reusing program structure
2015-09-10 10:46:39 -07:00
Mohamed Hegazy
4be0ddba53
Merge pull request #4711 from SaschaNaz/mergeRules
...
Housekeeping formatting rules
2015-09-10 10:38:10 -07:00
Daniel Rosenwasser
96a815878c
Merge pull request #4657 from Microsoft/emptyVariableDeclarationBindingPattern
...
Fix emitted code for variable statement with no bound variables
2015-09-09 16:47:45 -07:00
Anders Hejlsberg
c05650aea3
Actually cache regular version of fresh object literal type
2015-09-09 16:38:04 -07:00
Mohamed Hegazy
a5c72014b0
Merge pull request #4656 from Microsoft/Fix4655
...
Report error for class expressions incorrectly extending abstract classes
2015-09-09 13:35:42 -07:00
SaschaNaz
eb2d86aa7b
revert newlines
2015-09-10 02:20:15 +09:00
SaschaNaz
8cd8f863b3
remove type operation rules, add types instead
2015-09-10 01:41:21 +09:00
SaschaNaz
44009fa951
Housekeeping part from #4609
2015-09-10 01:37:34 +09:00
Vladimir Matveev
aa29644c2a
allow to use keywords as jsx identifiers
2015-09-08 22:40:16 -07:00
Vladimir Matveev
83214150f8
do not emit '=' in jsx attribute if initializer is missing
2015-09-08 18:40:30 -07:00
Mohamed Hegazy
3d8c336a4f
Merge pull request #4632 from Microsoft/fixCompletionAssert
...
Fix completion assert
2015-09-08 15:39:19 -07:00
Anders Hejlsberg
546da60a2a
Correct propagation of includePatternInType flag
2015-09-06 08:54:38 -07:00
Anders Hejlsberg
bb8179766a
Check for excess properties
2015-09-05 15:42:58 -07:00
Anders Hejlsberg
dc8ad6eb5e
Store binding pattern in contextual type
2015-09-05 13:17:33 -07:00
progre
52c99634ff
#4396 fix error message typo
2015-09-05 11:16:27 +09:00
Daniel Rosenwasser
4a85546f94
Merge pull request #4497 from weswigham/patch-4
...
Add system argument to readConfigFile
2015-09-04 18:10:46 -07:00
Daniel Rosenwasser
5297a7f319
Ensure that zero-element binding patterns don't try to reuse assigned identifiers.
2015-09-04 17:53:56 -07:00
Mohamed Hegazy
d8c6f7edc3
fix additional places where class expression should be queried
2015-09-04 17:46:26 -07:00
Mohamed Hegazy
3a08af1450
Check for class expressions as well as class declarations
2015-09-04 17:45:57 -07:00
vilicvane
8d45711395
Else on the next line
2015-09-05 06:43:37 +08:00
Vladimir Matveev
97b846c444
handle jsx identifiers correctly, indent content of JsxSelfClosingElement
2015-09-04 13:03:47 -07:00
Vladimir Matveev
2d37a44df4
Merge pull request #4646 from Microsoft/formattingJsxAttributes
...
handle jsx identifiers correctly, indent content of JsxSelfClosingEle…
2015-09-04 12:59:13 -07:00
Daniel Rosenwasser
6c23a6b534
Merge pull request #4638 from SaschaNaz/fixCommentIndentation
...
Fix comment indentation
2015-09-04 12:15:30 -07:00
Sheetal Nandi
46c005749b
Merge branch 'release-1.6'
2015-09-04 11:21:41 -07:00
Sheetal Nandi
0573c0b006
Merge pull request #4599 from Microsoft/decoratorInferredType
...
If Type annotation is missing, emit design:Type as Object
2015-09-04 11:19:17 -07:00
Vladimir Matveev
35d608692b
handle jsx identifiers correctly, indent content of JsxSelfClosingElement
2015-09-04 10:53:33 -07:00
vilicvane
856f2d895c
Fix issue #4603
2015-09-04 21:47:28 +08:00
SaschaNaz
4aded270f7
move declaration into the block
2015-09-04 21:54:14 +09:00
SaschaNaz
59f5ce4582
fix comment indentation
2015-09-04 19:35:07 +09:00
Mohamed Hegazy
a579d41a57
Do not add symbol if it is undefined
2015-09-03 13:53:00 -07:00
Vladimir Matveev
ff640e415f
fix 'findPrecedingToken' for jsxText
2015-09-03 13:33:22 -07:00
SaschaNaz
58c732b47d
format class expression indentation
2015-09-03 13:33:05 -07:00
SaschaNaz
b8071f99bc
format intersection type
2015-09-03 13:32:34 -07:00
Vladimir Matveev
e484305c98
allow backslashes in fileName argument of the transpile function
2015-09-03 13:31:57 -07:00
Vladimir Matveev
dc86736820
Merge pull request #4596 from Microsoft/jsxIndentation
...
fix 'findPrecedingToken' for jsxText
2015-09-03 13:29:44 -07:00
Vladimir Matveev
4f4c8ee12d
Merge pull request #4627 from Microsoft/backslashesInTranspile
...
allow backslashes in fileName argument of the transpile function
2015-09-03 13:29:27 -07:00
Vladimir Matveev
feddff0b7b
Merge pull request #4622 from SaschaNaz/fixClassExpressionIndent
...
Fix class expression indentation
2015-09-03 11:59:50 -07:00
Daniel Rosenwasser
fafbec60de
Merge pull request #4552 from Microsoft/bettErrErrorsForObjectLiteralExcessProperties
...
Better error spans for object literal excess properties
2015-09-03 10:03:53 -07:00
Vladimir Matveev
9a78b66068
allow backslashes in fileName argument of the transpile function
2015-09-03 09:25:43 -07:00
SaschaNaz
dfde9e4e10
format intersection type
2015-09-03 22:33:07 +09:00
SaschaNaz
8d1d0d8d70
format class expression indentation
2015-09-03 22:07:52 +09:00
Zhengbo Li
3c568251bb
Merge pull request #4557 from gwicksted/patch-1
...
Add parameters to toLocaleDateString
2015-09-02 17:29:31 -07:00
Zhengbo Li
690b87c209
Merge pull request #4557 from gwicksted/patch-1
...
Add parameters to toLocaleDateString
2015-09-02 16:02:42 -07:00
Vladimir Matveev
cd6152ebe6
remove 'experimental' from 'moduleResolution' command line argument
2015-09-02 10:01:28 -07:00
Graeme Wicksted
03da2ce42b
Added toLocaleTimeString variations
...
See [Mozilla Reference ](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toLocaleTimeString )
2015-09-02 10:19:49 -04:00
Sheetal Nandi
5f78d39662
If Type annotation is missing, emit design:Type as Object
...
Fixes #4549
2015-09-01 13:46:44 -07:00
Anders Hejlsberg
c436736e1e
Adding a few comments
2015-09-01 13:15:43 -07:00
Vladimir Matveev
538d5b9480
fix 'findPrecedingToken' for jsxText
2015-09-01 12:41:48 -07:00
Anders Hejlsberg
e78478b767
More flexible rules when destructuring have literal initializers
2015-09-01 12:34:29 -07:00
Vladimir Matveev
3e2be80d8a
remove 'experimental' from 'moduleResolution' command line argument
2015-09-01 11:09:41 -07:00
Yui T
1854adb56b
address PR
2015-08-31 20:33:02 -07:00
Daniel Rosenwasser
ad3cca3d4f
Added comment, inlined function.
2015-08-31 15:04:25 -07:00
Daniel Rosenwasser
5ff945bc5e
Style.
2015-08-31 15:04:20 -07:00
Daniel Rosenwasser
41f37f5890
Improve error message spans when object literals have excess properties.
2015-08-31 15:04:12 -07:00
Daniel Rosenwasser
712d5c483f
Added comment, inlined function.
2015-08-31 14:53:02 -07:00
Graeme Wicksted
c209747c6a
Add parameters to toLocaleDateString
...
Also added missing option in Intl.DateTimeFormatOptions (timeZone). Original ticket #4294
2015-08-31 10:29:58 -04:00
Daniel Rosenwasser
42e08686be
Style.
2015-08-31 01:09:48 -07:00
Daniel Rosenwasser
19e54fe1af
Improve error message spans when object literals have excess properties.
2015-08-31 01:07:30 -07:00
tien
d0281f0e0e
Merge pull request #4536 from hoanhtien/fixInconsistentFormatting
...
Fix formatting inconsistencies in editorservices.ts
2015-08-30 17:02:45 -07:00
Anders Hejlsberg
758cdf3378
Only obtain regular type of fresh object literal type if necessary
2015-08-30 15:07:04 -07:00
Anders Hejlsberg
565696217f
Addressing CR feedback
2015-08-28 17:51:07 -07:00
Anders Hejlsberg
0e52555d4c
Restoring union type subtype reduction
2015-08-28 17:50:39 -07:00
Mohamed Hegazy
7f6608b2b9
Merge pull request #4537 from Microsoft/unionSubtypeReduction
...
Union subtype reduction
2015-08-28 17:48:57 -07:00
Anders Hejlsberg
603eb86302
Addressing CR feedback
2015-08-28 17:39:50 -07:00
Tien Nguyen
2611607159
Reformat some code.
2015-08-28 16:01:04 -07:00
Ron Buckton
1ea378859c
Fixes fallback checks that cause an exception during call resolution for an async function
2015-08-28 15:13:32 -07:00
Anders Hejlsberg
d8d7fb96b5
Restoring union type subtype reduction
2015-08-28 14:50:58 -07:00
Ryan Cavanaugh
90aff0c654
Use synthetic identifier during emit instead
2015-08-28 14:00:36 -07:00
Dick van den Brink
8028ab56c5
Fix occurrences on this
in class expressions
...
Fix #4479
2015-08-28 22:11:01 +02:00
Vladimir Matveev
be8f17c5d7
Merge pull request #4488 from Microsoft/fixRWC
...
Move RWC runner to use Harness.IO instead of sys
2015-08-27 18:22:28 -07:00
Vladimir Matveev
4aec447dba
Merge pull request #4488 from Microsoft/fixRWC
...
Move RWC runner to use Harness.IO instead of sys
2015-08-27 18:16:22 -07:00
Mohamed Hegazy
28212441d9
Merge pull request #4494 from JKillian/namespaceFlagDotSyntax
...
Propagate namespace flag to namespaces nested with dot syntax
2015-08-27 17:48:15 -07:00
Ryan Cavanaugh
38a479103b
Merge pull request #4475 from RyanCavanaugh/fix4422
...
Correctly emit imported 'React' references in JSX.
2015-08-27 17:41:52 -07:00
Vladimir Matveev
24a65f4f79
merge with master
2015-08-27 17:15:49 -07:00
Vladimir Matveev
8df7cbb515
pass IO when getting default library instead of reading it to prevent
...
memory leaks, do not count errors in library files twice
2015-08-27 16:59:37 -07:00
Wesley Wigham
f1dbf904a7
Toss the System out
2015-08-27 16:52:49 -07:00
Wesley Wigham
e4af02bb8b
Toss the option out the window
2015-08-27 16:35:02 -07:00
Mohamed Hegazy
0369ecd213
Merge branch 'master' into mergeMasterInRelease1.6
2015-08-27 16:27:31 -07:00
Mohamed Hegazy
6cd2a47d97
Merge branch 'master' into mergeMasterInRelease1.6
2015-08-27 16:26:04 -07:00
Anders Hejlsberg
29ec6b0042
Merge pull request #4509 from Microsoft/noDedupeTupleTypes
...
Fix stack overflow with recursive tuple types
2015-08-27 16:25:25 -07:00
Anders Hejlsberg
5856cc5503
Merge pull request #4501 from Microsoft/checkClassExpressions
...
Properly check expressions in class extends clause
2015-08-27 16:21:02 -07:00
Anders Hejlsberg
c56683caf3
Merge pull request #4484 from Microsoft/suppressExcessPropertyErrors
...
Adding -suppressExcessPropertyErrors compiler option
2015-08-27 16:20:28 -07:00
Anders Hejlsberg
98de9de281
No deduplication in union of tuple element types
2015-08-27 15:59:00 -07:00
Mohamed Hegazy
155a8870f3
Revert "Update version to 1.7"
...
This reverts commit 6fbf4494b5
.
2015-08-27 15:49:50 -07:00
Mohamed Hegazy
6fbf4494b5
Update version to 1.7
2015-08-27 15:46:25 -07:00
Mohamed Hegazy
6975626581
Merge branch 'release-1.6'
2015-08-27 15:23:04 -07:00
Ron Buckton
89ac1940ee
Fixes declaration emit for a class that extends null
2015-08-27 15:21:31 -07:00
Daniel Rosenwasser
cabc0fff11
Merge pull request #4442 from SaschaNaz/formatFunctionType
...
Format function type (and others)
2015-08-27 14:52:52 -07:00
Yui T
5f3c7623aa
Add class expression if existed to classifiable-name map
2015-08-27 14:01:27 -07:00
Ron Buckton
f76528e6f7
Merge pull request #4502 from Microsoft/fixClassExtendsNullDeclEmit
...
Fixes declaration emit for a class that extends null
2015-08-27 13:58:54 -07:00
Yui
4a75f93934
Merge pull request #4503 from Microsoft/fixClassExpClassfication
...
Fix classification for class expression
2015-08-27 13:58:30 -07:00
Yui T
945eb1145d
Revert change to the harness that break the unittest
2015-08-27 13:48:25 -07:00
Yui T
bff8caa54c
Add class expression if existed to classifiable-name map
2015-08-27 13:15:03 -07:00
Ron Buckton
08f4f3774c
Fixes declaration emit for a class that extends null
2015-08-27 12:53:17 -07:00
Anders Hejlsberg
ff47fa124a
Property check expressions in class extends clause
2015-08-27 12:52:34 -07:00
Wesley Wigham
3598b906e3
Add optional argument to readConfigFile
...
Which allows the caller to specify the `System` used to read the file.
2015-08-27 11:40:21 -07:00
Jason Killian
4db535d949
Add comment
2015-08-27 14:04:00 -04:00
Jason Killian
69249cbed7
Propagate namespace flag to namespaces nested with dot syntax
2015-08-27 11:36:57 -04:00
SaschaNaz
96174ba1a7
adding tests
2015-08-27 22:59:10 +09:00
SaschaNaz
b23215986c
adding constructor/parenthesized type
2015-08-27 19:03:35 +09:00
SaschaNaz
be97d03af0
union type rules
2015-08-27 18:26:00 +09:00
Vladimir Matveev
af2a49992f
Move RWC runner to use Harness.IO
2015-08-26 18:54:25 -07:00
Vladimir Matveev
1d94653798
Revert "Read default lib from the local file system instead of log-array when do Not use custom library file"
...
This reverts commit 735efee7ce
.
2015-08-26 18:14:52 -07:00
Vladimir Matveev
421990ed81
Revert "Address CR"
...
This reverts commit 8a4c56bb76
.
2015-08-26 18:14:38 -07:00
Anders Hejlsberg
72b347478c
Adding test harness support
2015-08-26 17:14:13 -07:00
Anders Hejlsberg
bbdd340de9
Adding -suppressExcessPropertyErrors compiler option
2015-08-26 17:13:53 -07:00
Daniel Rosenwasser
d4a45227ec
Don't assume the class declaration will occur first, and that it is *only* a class declaration.
2015-08-26 16:42:22 -07:00
Daniel Rosenwasser
c9c6d82376
Merge pull request #4480 from Microsoft/goToDefinitionOnConstructors
...
Fix issue with go-to-definition when first declaration of symbol is not specifically a class declaration
2015-08-26 16:39:29 -07:00
Daniel Rosenwasser
9f3c99e392
Don't assume the class declaration will occur first, and that it is *only* a class declaration.
2015-08-26 16:19:55 -07:00
Ryan Cavanaugh
09120e3a40
Remove unused field
2015-08-26 16:13:35 -07:00
Ryan Cavanaugh
0e4fdf8373
Use synthetic identifier during emit instead
2015-08-26 16:12:50 -07:00
Ryan Cavanaugh
6b5a14a353
CR feedback
2015-08-26 15:28:21 -07:00
Vladimir Matveev
aedbff163b
Merge remote-tracking branch 'origin' into errorMessageInEnums
2015-08-26 14:03:14 -07:00
Anders Hejlsberg
bbaf322ab7
Merge pull request #4464 from Microsoft/cacheTypeInstantiations
...
Cache anonymous object type instantiations
2015-08-26 13:29:54 -07:00
Ryan Cavanaugh
c68fc53e37
Correctly emit imported 'React' references in JSX.
...
Fixes bug #4422
2015-08-26 13:26:51 -07:00
Vladimir Matveev
a38c32f495
fix error message for forward references in enums
2015-08-26 13:12:29 -07:00
Yui T
8a4c56bb76
Address CR
2015-08-26 13:05:38 -07:00
Yui T
735efee7ce
Read default lib from the local file system instead of log-array when do Not use custom library file
2015-08-26 13:05:29 -07:00
Zhengbo Li
d29c21042e
Merge pull request #4470 from Microsoft/release-1.6
...
Merge branch release-1.6
2015-08-26 12:33:24 -07:00
Zhengbo Li
b340a47dce
Merge pull request #4469 from zhengbli/issue4295
...
Fix MessageEvent and ProgressEvent constructors
2015-08-26 12:31:53 -07:00
zhengbli
748231f45d
CR feedback
2015-08-26 12:24:40 -07:00
zhengbli
c7ea94be75
fix MessageEvent and ProgressEvent constructors
2015-08-26 12:12:40 -07:00
SaschaNaz
a74ca1801e
adding rules, ParenthesizedType not yet
2015-08-27 03:33:36 +09:00
Yui T
666d8d48ae
Merge branch 'release-1.6' into omitComments
2015-08-26 11:20:58 -07:00
Yui T
e6d91a459e
Merge branch 'release-1.6'
2015-08-26 11:14:22 -07:00
Yui T
b9622780c2
Merge branch 'release-1.6' into fix3989
...
Conflicts:
src/services/services.ts
2015-08-26 11:07:19 -07:00
Anders Hejlsberg
d615d21e6d
Add cache of anonymous object type instantiations to TypeMapper
2015-08-26 06:41:41 -07:00
Mohamed Hegazy
ea35f07c0e
change variable name
2015-08-25 17:45:21 -07:00
Mohamed Hegazy
01dda94433
Only set files if we have one
2015-08-25 17:44:16 -07:00
Mohamed Hegazy
d3d4a00691
use toLowerCase and remove unused property
2015-08-25 17:43:46 -07:00
Mohamed Hegazy
509232f477
Move handeling to a diffrent function, and remove specialized serialization
2015-08-25 17:42:39 -07:00
Mohamed Hegazy
16a6de281c
Update error message
2015-08-25 14:41:43 -07:00
Mohamed Hegazy
b85665cd38
Make new exported functions internal
2015-08-25 14:34:34 -07:00
Mohamed Hegazy
f3d36616b7
Merge branch 'init' of https://github.com/tinganho/TypeScript into tinganho-init
...
Conflicts:
src/compiler/diagnosticInformationMap.generated.ts
src/compiler/diagnosticMessages.json
src/compiler/types.ts
2015-08-25 14:23:41 -07:00
Yui T
cb8ad4f134
Merge branch 'master' into omitComments
...
Conflicts:
src/compiler/emitter.ts
2015-08-25 14:03:21 -07:00
Yui T
e36285c82c
Optimize removing comment when removeComment flag is true
2015-08-25 13:47:02 -07:00
zhengbli
9ed51c6399
Fix inconsistent line endings in lib.d.ts
2015-08-25 12:16:31 -07:00
SaschaNaz
c0a87e9947
fixing function type formatting
2015-08-26 02:01:33 +09:00
Tingan Ho
963ba1918e
Addresses CR feedback
2015-08-25 15:05:02 +08:00
Mohamed Hegazy
ab6fe49d56
Merge branch 'master' into moduleResolutionStrategies
...
Conflicts:
src/compiler/diagnosticMessages.json
2015-08-24 15:46:06 -07:00
Sheetal Nandi
3fdb5e8882
Used let instead of var
2015-08-24 12:08:22 -07:00
Sheetal Nandi
3ca08916d4
When emitting metadata about type, Use object type if the type cant be resolved
...
This could be true if expression cannot be resolved resulting in error
2015-08-24 12:07:14 -07:00
Sheetal Nandi
979e2bf7c4
Write synthesized node's text property instead of getting text from source file
...
This fixes issue of not being able to emit qualified expression correctly
2015-08-24 12:06:21 -07:00
Sheetal Nandi
8c7a634814
Merge branch 'master' into importDeclarationAndDecorator
2015-08-24 11:04:08 -07:00
Sheetal Nandi
1ca28b739e
Merge pull request #4402 from Microsoft/metadataTypeName
...
Instead of writing text from source file use text property to write t…
2015-08-24 10:59:05 -07:00
Mohamed Hegazy
60e25a7e1d
use commandlineParser's optionDeclarations to parse compiler options instead of doing it explicitlly
2015-08-21 19:17:09 -07:00
Mohamed Hegazy
b911dc3faf
git fix wrong merge
2015-08-21 17:17:16 -07:00
Mohamed Hegazy
697c3a8708
Merge branch 'master' into cleanHarnessOptionLoading
2015-08-21 16:53:14 -07:00
Zhengbo Li
15fb496be8
Merge pull request #4408 from zhengbli/issue4401
...
Move getElementsByClassName from HTMLElement to Element
2015-08-21 16:38:19 -07:00
Zhengbo Li
9e6501c1b3
Merge pull request #4405 from zhengbli/fixTsconfigWatcherIssue
...
Fix issue when the newly added files in tsconfig is not opened
2015-08-21 16:20:52 -07:00
Zhengbo Li
ecaf16df4b
Merge pull request #4283 from zhengbli/JsDocIntellisense2
...
Add Intellisense to JsDoc
2015-08-21 16:08:37 -07:00
zhengbli
fb403dad91
Move getElementsByClassName from HTMLElement to Element
2015-08-21 16:01:35 -07:00
Mohamed Hegazy
55d7edf89f
Rename setCompilerOptionsFromSetting to setCompilerOptionsFromHarnessSetting
2015-08-21 15:50:31 -07:00
Mohamed Hegazy
a8482358cc
Merge branch 'master' into cleanHarnessOptionLoading
...
Conflicts:
src/harness/fourslash.ts
src/harness/harness.ts
2015-08-21 15:47:10 -07:00
Ryan Cavanaugh
c12da5a2c2
Merge pull request #4406 from RyanCavanaugh/fix4404
...
Correctly identify JSX Expressions as Expression parent nodes
2015-08-21 15:27:39 -07:00
Ryan Cavanaugh
27dabe49e0
Merge remote-tracking branch 'upstream/master' into fix4376_2
...
# Conflicts:
# src/compiler/emitter.ts
2015-08-21 14:49:48 -07:00
Ryan Cavanaugh
00d4b4cb50
Correctly identify JSX Expressions as Expression parent nodes
...
Fixes bug #4404
2015-08-21 14:43:14 -07:00
zhengbli
69bc569b2f
Fix issue when the newly added files in tsconfig is not opened
2015-08-21 14:33:59 -07:00
Vladimir Matveev
ea1512e466
Merge pull request #4394 from Microsoft/browserifyFix
...
use Harness.IO instead of sys in harness
2015-08-21 14:25:44 -07:00
Ryan Cavanaugh
65f4ac6d6f
Merge pull request #4381 from RyanCavanaugh/fix4125
...
Convert HTML entities to strings (#4125 )
2015-08-21 13:30:09 -07:00
Vladimir Matveev
64fd41df2a
use buffer in harness only when running outside of the browser
2015-08-21 13:16:08 -07:00
Sheetal Nandi
060dbd24f4
Instead of writing text from source file use text property to write text of synthesized node
...
Fixes #4364
2015-08-21 13:10:30 -07:00
zhengbli
582b0aa31e
parse jsdoc param tag even without a param name
2015-08-21 13:07:41 -07:00
Mohamed Hegazy
2ed9bdbfb8
Merge pull request #4390 from adidahiya/fix-remove-TypeCheckerHost-interface
...
Make TypeCheckerHost internal
2015-08-21 12:23:40 -07:00
Vladimir Matveev
da009b8612
use \r\n as new line in harness
2015-08-21 11:32:53 -07:00
Vladimir Matveev
dc2c968b08
addressed PR feedback: added comment
2015-08-21 10:37:13 -07:00