From 4df1825dc2115172a96368fa79f776443a2a1dd9 Mon Sep 17 00:00:00 2001 From: Victor Berchet Date: Fri, 23 Jan 2015 10:07:20 +0100 Subject: [PATCH] fix(Interpolation): switch to new AST API --- modules/change_detection/src/parser/ast.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/change_detection/src/parser/ast.js b/modules/change_detection/src/parser/ast.js index 1e01b41fa5..d493301f24 100644 --- a/modules/change_detection/src/parser/ast.js +++ b/modules/change_detection/src/parser/ast.js @@ -258,11 +258,11 @@ export class Interpolation extends AST { } eval(context) { - throw new Error("unsuported"); + throw new BaseException("evaluating an Interpolation is not supported"); } - visit(visitor, args) { - visitor.visitInterpolation(this, args); + visit(visitor) { + visitor.visitInterpolation(this); } }