From 18505cb2061235dba1b064b9379164e2a48254a6 Mon Sep 17 00:00:00 2001 From: Sébastien Doeraene Date: Mon, 29 Feb 2016 12:48:06 +0100 Subject: Store the JSDefinitions in a custom platform SJSPlatform. This required the ability to instantiate a different `Platform` depending on settings, which, in turn, required to defer the initialization of `ContextBase.platform`. --- test/test/DottyTest.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') diff --git a/test/test/DottyTest.scala b/test/test/DottyTest.scala index 4664605d1..77642561a 100644 --- a/test/test/DottyTest.scala +++ b/test/test/DottyTest.scala @@ -22,7 +22,7 @@ class DottyTest /*extends ContextEscapeDetection*/ { val base = new ContextBase import base.settings._ val ctx = base.initialCtx.fresh - base.definitions.init(ctx) + base.initialize()(ctx) ctx } /* -- cgit v1.2.3