diff --git a/tools/p.ts b/tools/p.ts index d32e6a0b..d9397fe3 100644 --- a/tools/p.ts +++ b/tools/p.ts @@ -76,6 +76,6 @@ export default class P { this.binder = new Binder; this.resolver = new Resolver; this.typeChecker = new TypeChecker; - this.interpreter = new Interpreter(this, this.resolver, this.binder, this.fileName); + this.interpreter = new Interpreter(this, this.resolver, this.binder, this.interpreter.fileName); } } \ No newline at end of file