fix pure_getters for chained property access (#1798)

This commit is contained in:
Alex Lam S.L
2017-04-07 17:06:01 +08:00
committed by GitHub
parent e3c9c22c75
commit c2a1bceb77
2 changed files with 36 additions and 24 deletions

View File

@@ -106,3 +106,16 @@ unsafe_reduce_vars: {
(void 0).prop;
}
}
chained: {
options = {
pure_getters: "strict",
side_effects: true,
}
input: {
a.b.c;
}
expect: {
a.b.c;
}
}