| Index: src/typing.cc
|
| diff --git a/src/typing.cc b/src/typing.cc
|
| index 1cb7577775622c59880638d2d2bf5067cf5c6d7f..e7d2fae7ebe576b5d5323c550abb7079662d8876 100644
|
| --- a/src/typing.cc
|
| +++ b/src/typing.cc
|
| @@ -371,6 +371,12 @@ void AstTyper::VisitVariableProxy(VariableProxy* expr) {
|
| }
|
|
|
|
|
| +void AstTyper::VisitRestParameter(RestParameter* node) {
|
| + // This node should be evicted from the tree before typing ever occurs.
|
| + UNREACHABLE();
|
| +}
|
| +
|
| +
|
| void AstTyper::VisitLiteral(Literal* expr) {
|
| Type* type = Type::Constant(expr->value(), zone());
|
| NarrowType(expr, Bounds(type));
|
|
|