Rowan Wyborn
b7f60704bb
Initial check in - Support other JSX factories Issue #3788
...
- added jsxNamespace compile option
- when jsx mode is "react", jsxNamespace optionally specifies the emit namespace for React calls, eg "--jsxNamespace MyDOMLib" will emit calls as MyDOMLib.createElement (instead of React.createElement)
- symbol specified by jsxNamespace must be present, else compile error is generated (same handling as is done for React symbol when no jsxNamespace is specified)
2015-12-18 21:56:08 +11:00
Vladimir Matveev
bb1e5ab5ea
Merge pull request #6077 from Microsoft/superInObjectLiterals
...
allow usage of 'super' in object literal expressions
2015-12-17 21:53:58 -08:00
Yui
09d22331a4
Merge pull request #6084 from Microsoft/fix4686_fixrename
...
Fix rename/document-highlight/find reference in parameter property declaration
2015-12-17 21:52:29 -08:00
vladima
ae7d687a77
merge with origin/master
2015-12-17 21:30:47 -08:00
Yui T
a5c632cd5a
Fix merge error
2015-12-17 21:08:11 -08:00
Ryan Cavanaugh
0163675464
Merge pull request #6104 from RyanCavanaugh/fix6029
...
Properly handle multiply-declared optional properties in JSX attr. type
2015-12-17 20:18:17 -08:00
Yui T
73911a327d
Merge branch 'master' into fix4686_fixrename
2015-12-17 18:35:08 -08:00
Yui T
7499c7c279
Address feedback
2015-12-17 18:34:21 -08:00
Yui
710a5be23a
Merge pull request #6141 from Microsoft/linting_services
...
Apply tslint to services.ts file
2015-12-17 18:26:26 -08:00
Yui T
e4e6f7072d
Update assert msg
2015-12-17 17:27:00 -08:00
Daniel Rosenwasser
8d46ffdb73
Merge pull request #6075 from Microsoft/overloadCompatibility
...
Implement new overload compatibility checking
2015-12-17 17:15:22 -08:00
Vladimir Matveev
314b162882
Merge remote-tracking branch 'origin/master' into superInObjectLiterals
2015-12-17 17:02:37 -08:00
Nathan Shively-Sanders
4d792f2014
Merge pull request #6036 from Microsoft/structural-enums
...
Compare enums semi-structurally.
2015-12-17 16:31:03 -08:00
Nathan Shively-Sanders
b04bd66bb2
Get type of target enum outside the lookup loop
2015-12-17 16:18:55 -08:00
Yui T
5a53c613e4
Add assertion to check that ranges-array is not empty so it doesn't silently fail
2015-12-17 15:51:00 -08:00
Nathan Shively-Sanders
d59831b4e8
Get rid of list and map abstractions to reduce GC pressure
2015-12-17 15:38:02 -08:00
Yui T
479f7af4df
Add debug fail when getting parameter-property declaration
2015-12-16 16:24:18 -08:00
Vladimir Matveev
db7f955a5f
Merge remote-tracking branch 'origin/master' into superInObjectLiterals
2015-12-16 13:20:06 -08:00
Vladimir Matveev
a3cce3868b
addressed PR feedback
2015-12-16 13:19:57 -08:00
Daniel Rosenwasser
731925bffe
Fix linter nits.
2015-12-15 20:55:54 -08:00
Daniel Rosenwasser
d8db60a9a2
Use a comparison function instead of creating a new type for each signature.
2015-12-15 17:52:26 -08:00
Ryan Cavanaugh
a2b6e8c2c0
Use nicer flag collection method
2015-12-15 11:39:54 -08:00
Yui T
e3075bab78
Revert linting services
2015-12-15 10:57:56 -08:00
Yui T
ec95f9955a
Fix linting issue
2015-12-15 10:04:30 -08:00
Anders Hejlsberg
55d4f0f7e4
Merge pull request #6083 from Microsoft/simplifyDeferredChecking
...
Simplify deferred function, class, and accessor checking
2015-12-15 09:07:07 -08:00
Ryan Cavanaugh
023e375835
Properly handle multiply-declared optional properties in JSX attr. type
...
Fixes #6029
2015-12-14 16:44:26 -08:00
Yui T
c0ff7f77a2
Fix build error
2015-12-14 14:35:27 -08:00
Yui T
c5df5d768e
Fix linting issue
2015-12-14 12:57:02 -08:00
Ryan Cavanaugh
2f447ee005
Merge pull request #5876 from RyanCavanaugh/javaScriptPrototypes
...
JavaScript prototype class inference
2015-12-14 11:42:18 -08:00
Ryan Cavanaugh
37f3ff8d05
Check for function flag on class symbol
2015-12-14 11:32:06 -08:00
Yui T
7e71686b1a
Fix broken tests
2015-12-14 10:14:35 -08:00
Anders Hejlsberg
e354aec8a3
Mark anonymous type as resolved before resolving call signatures
2015-12-13 18:25:45 -08:00
vladima
b65c5779a2
addressed PR feedback
2015-12-12 23:07:18 -08:00
Yui T
f138953d88
Fix comment
2015-12-12 16:13:30 -08:00
Anders Hejlsberg
b44f6e47d6
Simplify deferred checking of function, class, and accessor bodies.
2015-12-12 15:56:43 -08:00
Yui T
d4ea6a0289
Merge branch 'master' into fix4686_fixrename
2015-12-12 15:53:16 -08:00
Yui T
94c3d27f41
Fix linting
2015-12-12 15:53:04 -08:00
Anders Hejlsberg
87036fe9f7
Merge pull request #6058 from Microsoft/delayAccessorBodyCheck
...
Defer checks of accessor bodies in object literals
2015-12-12 15:45:05 -08:00
Yui T
0f3eb0a058
Initial fix for rename for parameter property declaration
2015-12-11 19:27:24 -08:00
vladima
60e1f30182
allow usage of 'super' in object literal expressions
2015-12-11 17:16:28 -08:00
Paul van Brenk
9d1cc31144
Merge pull request #6074 from Microsoft/supportChakra
...
make ChakraHost more generally usefull
2015-12-11 16:55:39 -08:00
Paul van Brenk
27493736c3
trailing whitespace
2015-12-11 16:32:44 -08:00
Paul van Brenk
0c365daac5
make ChakraHost more generally usefull
2015-12-11 16:19:08 -08:00
Wesley Wigham
5ee0957974
Merge pull request #6044 from weswigham/redeclared-export-type
...
Exempt one type declaration from the redeclared export check - Fix #6043
2015-12-11 16:15:22 -08:00
Daniel Rosenwasser
73526cf39a
Do some caching so that we don't repeat the same work for the implementation signature for every overload.
2015-12-11 16:01:56 -08:00
Daniel Rosenwasser
a236461358
Reversed order of checks, since the implementation will typically be more general than the overload.
2015-12-11 15:10:50 -08:00
Daniel Rosenwasser
9b507b7512
Specifically test for 'void' to permit implementations to return more than what was guaranteed.
2015-12-11 15:08:30 -08:00
Daniel Rosenwasser
fc170da0e4
Merge branch 'master' into overloadCompatibility
2015-12-11 13:51:50 -08:00
Vladimir Matveev
f51de5b28f
Merge pull request #5860 from Microsoft/superPropertiesInES6
...
do not error on 'super' property access in ES6
2015-12-11 13:20:20 -08:00
Anders Hejlsberg
18e23a1b90
Addressing CR feedback
2015-12-11 10:52:04 -08:00