Jason Ramsay
317f5e2f56
Merge branch 'master' into jsTypingForAcquireDts
2016-02-22 19:01:09 -08:00
Nathan Shively-Sanders
e2c95551b3
Merge pull request #7188 from Microsoft/standardise-errors-on-not-prefix
...
Error messages consistently use non- prefix
2016-02-22 14:38:29 -08:00
Nathan Shively-Sanders
ee8986acc8
Error messages consistently use non- prefix
...
In the construction "x must either be y or non-y", we previously used "y
or not y", even y is always an adjective.
2016-02-22 14:16:00 -08:00
Nathan Shively-Sanders
b01a050399
Update error message as requested in PR comments
2016-02-22 13:55:46 -08:00
Nathan Shively-Sanders
48f728e96f
Add abstract properties and accessors
...
Almost all the infrastructure is in place, so I just allowed abstract
properties+accessors and added an error when abstract accessors do not
have the same abstractness specified.
2016-02-22 10:28:34 -08:00
Jason Ramsay
284d9f527c
Salsa: JS support for discovering and acquiring d.ts files
...
(Mostly isolating VS host changes from PR#6448)
2016-02-21 21:35:02 -08:00
Nathan Shively-Sanders
14a457e518
Address review comments
...
1. Give class name in error message.
2. Reduce nesting via an early exit.
2016-02-19 13:05:19 -08:00
Nathan Shively-Sanders
bb2eb635d6
Merged classes and interfaces must have identical type constraints
...
Previously, only interfaces needed to check this, but now that classes and
interfaces can merge, the check needs to happen in more places.
2016-02-19 11:36:35 -08:00
Mohamed Hegazy
bde20c4ec7
Merge pull request #6885 from AbubakerB/constructorAccessibility
...
Constructor Visibility
2016-02-16 16:50:19 -08:00
Anders Hejlsberg
a8633eec90
Merge pull request #7029 from Microsoft/implicitIndexSignatures
...
Implicit index signatures
2016-02-16 15:37:18 -08:00
AbubakerB
de23e2ff74
Merge branch 'master' into constructorAccessibility
...
Conflicts:
src/compiler/checker.ts
2016-02-16 22:49:23 +00:00
Daniel Rosenwasser
4353865f8b
Merge pull request #7067 from Microsoft/removePredicateTypinessToMaster
...
(Porting to 'master') Remove notion of predicates as types, move predicates back to signatures
2016-02-16 11:58:47 -08:00
Bill Ticehurst
fe60490c2a
Fixed wording and updated tests
2016-02-13 08:12:58 -08:00
Bill Ticehurst
ed7abcc1e9
Set experimentalDecorators warning for JavaScript
2016-02-12 19:19:23 -08:00
Bill Ticehurst
f601e6dd76
Allow decorators in JavaScript files
2016-02-12 18:52:51 -08:00
AbubakerB
d0843e1dc2
Merge branch 'ts-master' into constructorAccessibility
...
Conflicts:
src/compiler/checker.ts
2016-02-12 23:35:22 +00:00
Daniel Rosenwasser
7c7e2aa032
Error on nodes which should not have type predicates.
2016-02-12 15:21:58 -08:00
Bill Ticehurst
9d008feba3
Added module: none as an option
...
(cherry picked from commit 195e69c889 )
2016-02-11 14:09:10 -08:00
Bill Ticehurst
a370103e15
Added back errors for module kind none
...
(cherry picked from commit 73fa45bd2e )
2016-02-11 14:08:24 -08:00
Bill Ticehurst
bb28424b45
Removed errors for missing module specifier
...
(cherry picked from commit f2e7f9f50f )
2016-02-11 14:07:32 -08:00
Anders Hejlsberg
1d428b9fe0
Implicit index signatures for object literal types
2016-02-09 14:31:09 -08:00
AbubakerB
16b54e0d9f
Addressed PR. Diagnostic messages
2016-02-04 22:52:19 +00:00
AbubakerB
f869b41f14
Added private and protected modifiers to constructors
2016-02-03 22:47:26 +00:00
Mohamed Hegazy
10522f9eee
Add flag to emit modules in loose mode
2016-02-03 14:16:22 -08:00
Mohamed Hegazy
33ef358893
Merge pull request #6863 from plantain-00/i6844
...
fix error message with public class inside namespace
2016-02-02 18:33:24 -08:00
york yao
a0782d91ac
fix error message with public class inside namespace
2016-02-03 10:02:59 +08:00
Mohamed Hegazy
9582342b90
Remove unused error message
2016-02-02 17:53:42 -08:00
Vladimir Matveev
39216e8811
Merge pull request #6742 from Microsoft/augmentExportEquals
...
allow augmentation for entities exported via 'export='
2016-01-30 19:47:06 -08:00
Vladimir Matveev
ac528cc948
addressed PR feedback
2016-01-30 16:20:48 -08:00
Noj Vek
f04f93c414
Fix typo in compiler reactNamespace error string
2016-01-30 11:37:02 -08:00
Vladimir Matveev
5d22d18a70
allow augmentation for entities exported via 'export='
2016-01-29 16:27:34 -08:00
Kanchalai Tanglertsampan
bf854a784f
Merge branch 'master' into fix4211
2016-01-28 14:33:50 -08:00
Ron Buckton
a6af98e100
Merge pull request #6631 from Microsoft/reservePromiseInTopLevelModule
...
Reserve promise in top level module
2016-01-27 12:25:57 -08:00
Vladimir Matveev
f23c35f04d
Merge pull request #5728 from Microsoft/pathMappingModuleResolution
...
Path mapping module resolution
2016-01-27 11:38:33 -08:00
Kanchalai Tanglertsampan
e910e7151b
Merge branch 'master' into fix4211
2016-01-27 10:36:08 -08:00
Vladimir Matveev
adacad326a
addressed PR feedback
2016-01-26 21:38:12 -08:00
Ron Buckton
655d5c934c
Comments and messages
2016-01-26 16:04:40 -08:00
Ron Buckton
35044d1293
Added error when return type is not the global Promise
2016-01-26 12:47:53 -08:00
Vladimir Matveev
8a8ed0a871
update implementation based on the results of design meeting
2016-01-25 11:49:26 -08:00
Ron Buckton
4d3f6e76b8
Error for Promise redeclaration in module with async
2016-01-25 10:32:34 -08:00
Anders Hejlsberg
ee0060bb2f
No readonly checks in type relationships + No assignments through namespace imports
2016-01-23 15:35:33 -08:00
Vladimir Matveev
9d828e3916
Merge remote-tracking branch 'origin/master' into pathMappingModuleResolution
2016-01-20 15:32:19 -08:00
Anders Hejlsberg
dc8ab95db5
Chaning "read-write" to "writable" in error messages
2016-01-19 09:45:46 -08:00
Anders Hejlsberg
a499607845
Merge branch 'master' into readonlyMembers
...
Conflicts:
src/compiler/parser.ts
src/compiler/types.ts
2016-01-18 21:03:15 -08:00
Anders Hejlsberg
d3be38ea2f
Updating error messages
2016-01-18 17:56:58 -08:00
Anders Hejlsberg
01c9686869
Allow 'readonly' only on property and index signature declarations
2016-01-18 17:35:10 -08:00
Anders Hejlsberg
b8cd0e5964
Support readonly indexers + include readonly modifier in typeToString
2016-01-18 08:58:00 -08:00
Anders Hejlsberg
d50435736b
Check readonly in assignments and type relations
2016-01-16 12:09:18 -08:00
Vladimir Matveev
e90db461ce
merge with origin/master
2016-01-14 13:58:48 -08:00
Daniel Rosenwasser
1868caa066
Merge pull request #6469 from ShyykoSerhiy/fix-528
...
Fixes issue https://github.com/Microsoft/TypeScript/issues/528 (Show better error message for unresolved references due to missing prefix)
2016-01-14 13:13:07 -08:00