bug-kawa
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-kawa] [bug #38332] Added a new module-compile-options


From: Per Bothner
Subject: [Bug-kawa] [bug #38332] Added a new module-compile-options
Date: Fri, 15 Feb 2013 00:43:44 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:18.0) Gecko/20100101 Firefox/18.0

Follow-up Comment #1, bug #38332 (project kawa):

Removing the "traditional" --main flag isn't acceptable, I'm afraid.  Note
that when I added full-tailcalls support to module-compile-options I did not
remove the "traditional" flags.

An easy way to support --main is to change the default in
mainMethodVariable.  E.g. if we add a setDefaultValue to OptionInfo we can
do:
   Compilation.mainMethodVariable.setDefaultValue(true);

I think the name 'mainMethodVariable' is awkward. (I realise it follows the
style of older options.)  Perhaps mainMethodOption is better.

The source for the documentation is in doc/kawa.texi.



    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?38332>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]