#681 what is the fan.compiler means?

wangzaixiang Fri 24 Jul 2009

When i look at the source code of the compiler pod, I cant understand the follow statement:

class CompilerSupport {

new make(Compiler fan.compiler)
{
  this.c = fan.compiler
}

virtual Compiler fan.compiler() { c }

}

I Just cant understand what the meaning of the local variable fan.compiiler and the method name fan.compiler()? what is the meaning?

brian Fri 24 Jul 2009

Are you looking at this code?

I don't see fan.compiler in that source file (that should be an illegal syntax error).

wangzaixiang Fri 24 Jul 2009

That is realy strange, and i download the 1.0.44 version again and it looks fine.

Maybe that is my problem when using eclipse, i just move some source from one directory to another, maybe the eclipse refract the source code in a wrong mode.

tompalmer Fri 24 Jul 2009

Thanks for the reminder about the online source, by the way. Convenient that is.

Login or Signup to reply.