Commit Graph

2322 Commits

Author SHA1 Message Date
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
vilicvane
c3323c9a69 Keep parentheses for all numeric literals with property access expression 2015-09-11 03:06:13 +08: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
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
Vladimir Matveev
83214150f8 do not emit '=' in jsx attribute if initializer is missing 2015-09-08 18:40:30 -07:00
progre
52c99634ff #4396 fix error message typo 2015-09-05 11:16:27 +09:00
Mohamed Hegazy
3a08af1450 Check for class expressions as well as class declarations 2015-09-04 17:45:57 -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
vilicvane
32d8a22990 Add tests for issue #4603 2015-09-04 22:15:10 +08:00
Sheetal Nandi
5f78d39662 If Type annotation is missing, emit design:Type as Object
Fixes #4549
2015-09-01 13:46:44 -07:00
Daniel Rosenwasser
f6aac04d1e Accepted baselines. 2015-08-31 15:04:16 -07:00
Daniel Rosenwasser
4d42d21912 Accepted baselines. 2015-08-31 01:08:09 -07:00
Anders Hejlsberg
2ee80f1f10 Accepting new baselines 2015-08-28 17:50:56 -07:00
Anders Hejlsberg
49bb2bbc15 Accepting new baselines 2015-08-28 16:00:14 -07:00
Ryan Cavanaugh
90aff0c654 Use synthetic identifier during emit instead 2015-08-28 14:00:36 -07:00
Ryan Cavanaugh
6b476b2b5f CR feedback 2015-08-28 13:59:29 -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
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
e6dc58efb9 Accepting new baselines 2015-08-27 16:12:31 -07:00
Mohamed Hegazy
6975626581 Merge branch 'release-1.6' 2015-08-27 15:23:04 -07:00
Ron Buckton
481c18c892 Added test 2015-08-27 15:21:40 -07:00
Anders Hejlsberg
c0267ec8e1 Adding test 2015-08-27 14:22:42 -07:00
Ron Buckton
67b00feadf Added test 2015-08-27 13:31:31 -07:00
Anders Hejlsberg
806c549c84 Accepting new baselines 2015-08-26 17:15:21 -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
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
Anders Hejlsberg
32f37bb8e0 Accepting new baselines 2015-08-26 06:59:58 -07:00
Mohamed Hegazy
ab6fe49d56 Merge branch 'master' into moduleResolutionStrategies
Conflicts:
	src/compiler/diagnosticMessages.json
2015-08-24 15:46:06 -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
6c457f6c1d Tests for #4239 2015-08-24 12:05:16 -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
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
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
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
Vladimir Matveev
68d6d8c550 use Harness.IO instead of sys in harness 2015-08-21 00:31:25 -07:00
Mohamed Hegazy
b395fb9f45 Merge branch 'master' into outFile
Conflicts:
	src/harness/fourslash.ts
2015-08-20 17:46:38 -07:00
Mohamed Hegazy
00cd8ad745 Add --outFile and revert change make --out relative in tsconfig.json 2015-08-20 17:37:56 -07:00
Vladimir Matveev
dde7545d34 address PR feedback 2015-08-20 16:13:49 -07:00
Mohamed Hegazy
cfc164b044 Consolidate option error messages into two 2015-08-20 15:58:57 -07:00
Sheetal Nandi
345de8fca5 Resolve the decorator type as type and check if the symbol has value.
This would make sure we are referencing correct symbol to check if it has value
Fixes #4239
2015-08-20 15:45:51 -07:00