From 8ac1b32ad3b190de82f5c4f1d1666f093ad8c20f Mon Sep 17 00:00:00 2001 From: Martin Odersky Date: Sun, 3 Feb 2013 11:59:38 +0100 Subject: Integration of settings, platform, pathresolver, etc. --- src/dotty/tools/dotc/core/NameOps.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/dotty/tools/dotc/core/NameOps.scala') diff --git a/src/dotty/tools/dotc/core/NameOps.scala b/src/dotty/tools/dotc/core/NameOps.scala index 5aa7e2e25..334d3a908 100644 --- a/src/dotty/tools/dotc/core/NameOps.scala +++ b/src/dotty/tools/dotc/core/NameOps.scala @@ -27,7 +27,7 @@ object NameOps { */ def apply(s: String)(implicit ctx: Context): String = { val marker = "$$$$" - val limit: Int = ctx.settings.XmaxClassfileName.value + val limit: Int = ctx.settings.maxClassfileName.value val MaxNameLength = (limit - 6) min 2 * (limit - 6 - 2 * marker.length - 32) def toMD5(s: String, edge: Int): String = { -- cgit v1.2.3