fix(Interpolation): switch to new AST API

This commit is contained in:
Victor Berchet 2015-01-23 10:07:20 +01:00
parent be6ce02021
commit 4df1825dc2
1 changed files with 3 additions and 3 deletions

View File

@ -258,11 +258,11 @@ export class Interpolation extends AST {
} }
eval(context) { eval(context) {
throw new Error("unsuported"); throw new BaseException("evaluating an Interpolation is not supported");
} }
visit(visitor, args) { visit(visitor) {
visitor.visitInterpolation(this, args); visitor.visitInterpolation(this);
} }
} }