This page is no longer maintained — Please continue to the home page at www.scala-lang.org

Trunk not building? "implicit parameters may not be call-by-name" in ScalaSigPrinter

1 reply
Alex Cruise
Joined: 2008-12-17,
User offline. Last seen 2 years 26 weeks ago.

Posting here to put a signpost in Google...

I'm trying to build trunk @ r21198, and getting this:

> quick.scalap:
> [mkdir] Created dir:
> /home/acruise/dev/scala-trunk/build/quick/classes/scalap
> [scalacfork] Compiling 28 files to
> /home/acruise/dev/scala-trunk/build/quick/classes/scalap
> [scalacfork]
> /home/acruise/dev/scala-trunk/src/scalap/scala/tools/scalap/scalax/rules/scalasig/ScalaSigPrinter.scala:199:
> error: implicit parameters may not be call-by-name
> [scalacfork] def printMethodType(t: Type, printResult:
> Boolean)(implicit cont: => Unit): Unit = {
> [scalacfork]
> ^
> [scalacfork] one error found

Interestingly, the code in question appears to be nine months old;
presumably the rules have changed? Maybe a bootstrap bump needed?

Thanks!

-0xe1a

Jason Zaugg
Joined: 2009-05-18,
User offline. Last seen 38 weeks 5 days ago.
Re: Trunk not building? "implicit parameters may not be call-b

https://lampsvn.epfl.ch/trac/scala/changeset/21196

On Tue, Mar 16, 2010 at 8:07 PM, Alex Cruise wrote:
> Posting here to put a signpost in Google...
>
> I'm trying to build trunk @ r21198, and getting this:
>> error: implicit parameters may not be call-by-name

Copyright © 2012 École Polytechnique Fédérale de Lausanne (EPFL), Lausanne, Switzerland