Sebastian McKenzie
|
43583e4e9d
|
pick only current constant violation if it's of the same scope
|
2015-06-13 02:19:57 +01:00 |
|
Sebastian McKenzie
|
f5b921cda9
|
better errorWithNode that's consolidated across paths and files
|
2015-06-13 02:19:44 +01:00 |
|
Sebastian McKenzie
|
763892aa79
|
remove unused variable
|
2015-06-13 02:19:30 +01:00 |
|
Sebastian McKenzie
|
c159f2d982
|
Merge branch 'master' of github.com:babel/babel
|
2015-06-13 01:54:33 +01:00 |
|
Sebastian McKenzie
|
2d66ce5224
|
Merge pull request #1724 from arthurvr/bool
Update `util.booleanify()` return type
|
2015-06-13 01:48:30 +01:00 |
|
Stephen Sugden
|
f21d935de5
|
Add aliases from JSX* tags to Expression
|
2015-06-12 12:24:24 -07:00 |
|
Stephen Sugden
|
2e20364793
|
Remove duplicate keys from alias-keys.json
Fixes #1734
|
2015-06-12 20:58:41 +02:00 |
|
Sebastian McKenzie
|
e47e8a187a
|
Merge branch 'master' of github.com:babel/babel
|
2015-06-11 19:06:41 +01:00 |
|
Ingvar Stepanyan
|
26924d5944
|
Fix dependency reference of Symbol.hasInstance
|
2015-06-10 22:07:40 +03:00 |
|
Arthur Verschaeve
|
5eb1850a55
|
Update util.booleanify() return type
Ref 62f37c1e62
|
2015-06-10 16:54:43 +02:00 |
|
Sebastian McKenzie
|
333e287226
|
remove special minification.removeConsole ExpressionStatement handling
|
2015-06-10 13:14:44 +01:00 |
|
Sebastian McKenzie
|
80a77bd6a2
|
fix linting error
|
2015-06-10 03:16:07 +01:00 |
|
Sebastian McKenzie
|
c9286a1de1
|
rewrite option handling - fixes #1636
|
2015-06-10 03:07:06 +01:00 |
|
Sebastian McKenzie
|
52f614dcdf
|
add better path execution status algo
|
2015-06-10 01:36:36 +01:00 |
|
Sebastian McKenzie
|
600367ae25
|
add t.COMPARISON_BINARY_OPERATORS
|
2015-06-10 01:34:51 +01:00 |
|
Sebastian McKenzie
|
b761cba135
|
split auxiliary comment option into before and after - fixes #1721
|
2015-06-10 01:34:44 +01:00 |
|
Sebastian McKenzie
|
947d3e262d
|
push newline after decorator when doing code gen - fixes #1713
|
2015-06-10 01:19:58 +01:00 |
|
Sebastian McKenzie
|
4061bea528
|
change execution order of module metadata visitor to resolve module source before building up metadata tree - fixes #1720
|
2015-06-10 01:15:11 +01:00 |
|
Sebastian McKenzie
|
fa670ac71e
|
visually split up inference inferer methods
|
2015-06-09 22:52:21 +01:00 |
|
Sebastian McKenzie
|
572261f9ce
|
add support for typecasts in path static evaluation
|
2015-06-09 22:52:00 +01:00 |
|
Sebastian McKenzie
|
f4d7cc55c1
|
split inference logic into separate folder
|
2015-06-09 14:02:57 +01:00 |
|
Sebastian McKenzie
|
eaaa279aa5
|
add let binding collision todo
|
2015-06-09 04:08:44 +01:00 |
|
Sebastian McKenzie
|
4cc844f410
|
take into consideration assignment expressions in loop heads when replacing let references - fixes #1707
|
2015-06-09 04:04:14 +01:00 |
|
Sebastian McKenzie
|
05b13b9ea3
|
fix mistyped parameter name of t.createTypeAnnotationBasedOnTypeof
|
2015-06-09 03:26:40 +01:00 |
|
Sebastian McKenzie
|
b7320ce400
|
add t.createTypeAnnotationBasedOnTypeof method
|
2015-06-09 03:23:28 +01:00 |
|
Sebastian McKenzie
|
0c37b7b973
|
add typeof conditional inference
|
2015-06-09 03:20:32 +01:00 |
|
Sebastian McKenzie
|
2dd8c40618
|
heavily simplify constants transformer
|
2015-06-09 00:31:18 +01:00 |
|
Sebastian McKenzie
|
33128b0ccf
|
remove unused declaration
|
2015-06-08 23:59:53 +01:00 |
|
Sebastian McKenzie
|
cf25424295
|
fix duplicate declaration
|
2015-06-08 23:49:00 +01:00 |
|
Sebastian McKenzie
|
7492074794
|
infer types of bindings inside of conditionals based on usage
|
2015-06-08 23:43:46 +01:00 |
|
Sebastian McKenzie
|
c4a491123e
|
disallow line terminator after async contextual keyword - fixes #1711
|
2015-06-08 21:25:16 +01:00 |
|
Sebastian McKenzie
|
55ad88fe4e
|
don't override types parameter
|
2015-06-08 14:59:19 +01:00 |
|
Sebastian McKenzie
|
b0971412a2
|
add inference for null, remove any type parameter from inferred arrays, add todo comment
|
2015-06-08 14:52:35 +01:00 |
|
Sebastian McKenzie
|
a6b374a681
|
save union type in _getTypeAnnotationBindingConstantViolations to prevent infinite recursion
|
2015-06-08 14:52:13 +01:00 |
|
Sebastian McKenzie
|
2d0355b3b9
|
merge previous bindings constantViolations and path onto new bindings constantViolations
|
2015-06-08 14:49:09 +01:00 |
|
Sebastian McKenzie
|
7fade101be
|
move down module TypeAlias check
|
2015-06-08 14:47:58 +01:00 |
|
Sebastian McKenzie
|
5899e9a0be
|
don't consider type aliases to be a default declaration - fixes #1705
|
2015-06-08 12:20:30 +01:00 |
|
Sebastian McKenzie
|
d41cb11545
|
fix registerDeclaration for FlowDeclarations
|
2015-06-08 01:46:05 +01:00 |
|
Sebastian McKenzie
|
6b02ca47c3
|
add missing semicolon
|
2015-06-08 01:27:02 +01:00 |
|
Sebastian McKenzie
|
ea1b85bffa
|
fix bug where templates were getting polluted with old traversal paths
|
2015-06-08 01:25:51 +01:00 |
|
Sebastian McKenzie
|
3cffe47eea
|
fix NodePath#isGenericType method name
|
2015-06-08 01:00:01 +01:00 |
|
Sebastian McKenzie
|
e5d5a9fb27
|
remove unused variable
|
2015-06-08 00:33:41 +01:00 |
|
Sebastian McKenzie
|
f4cc27bc0e
|
remove unused variable
|
2015-06-08 00:29:52 +01:00 |
|
Sebastian McKenzie
|
8cea575e2e
|
change NodePath#findParent to only call callback with path instead of node
|
2015-06-08 00:29:46 +01:00 |
|
Sebastian McKenzie
|
c91baee4d5
|
add support for flow declarations in scope tracking
|
2015-06-08 00:04:17 +01:00 |
|
Sebastian McKenzie
|
6c268cdf21
|
split out path comment methods into a separate file
|
2015-06-07 23:49:29 +01:00 |
|
Sebastian McKenzie
|
fce977f1d7
|
update TraversalContext#shouldVisit to check for existence of visitor keys
|
2015-06-07 23:38:39 +01:00 |
|
Sebastian McKenzie
|
a298075949
|
check for loc value on comments before attempting to adjust it
|
2015-06-07 23:37:47 +01:00 |
|
Sebastian McKenzie
|
66599c3779
|
use scope paths hub instead of manually passing the hub to the scope
|
2015-06-07 23:37:33 +01:00 |
|
Sebastian McKenzie
|
60340244b1
|
when constructing a NodePath, inherit parent paths hub if one wasn't passed to us
|
2015-06-07 23:36:32 +01:00 |
|