Bei der Gruppe, für die Sie eine Mitteilung verfassen, handelt es sich um eine Usenet-Gruppe. Wenn Sie in dieser Gruppe Nachrichten posten, ist Ihre E-Mail-Adresse für jeden im Internet sichtbar
Anyone knows what option to pass to scala REPL for displaying macro context info? I set force to false when calling context info. It displays with -verbose option, but then it is sunk into a lot REPL debug info which I dont need. I tried -Xmacro-settings:force=true, but nothing happens.
Best regards,
Leo
Sie müssen sich anmelden, bevor Sie Nachrichten veröffentlichen können.
> Anyone knows what option to pass to scala REPL for displaying macro context
> info? I set force to false when calling context info. It displays with
> -verbose option, but then it is sunk into a lot REPL debug info which I
> dont need. I tried -Xmacro-settings:force=true, but nothing happens.
> Best regards,
> Leo
Sie müssen sich anmelden, bevor Sie Nachrichten veröffentlichen können.
The only way I've found to get it to print something in REPL is to call it with the -verbose option but then I have too much info. I'd like to be able to activate only macro related debug info with a switch. -Ymacro-debug-lite and -Ymacro-debug-verbose does not force display info either. So I must miss something.
Sie müssen sich anmelden, bevor Sie Nachrichten veröffentlichen können.
Looks like force=true does the trick. Otherwise it's only -verbose.
11:41 ~/Projects/Kepler (2.10.x)$ scala
Welcome to Scala version 2.10.1-20121112-131306-1a6c859710 (Java
HotSpot(TM) 64-Bit Server VM, Java 1.6.0_37).
Type in expressions to have them evaluated.
Type :help for more information.
> The only way I've found to get it to print something in REPL is to call it
> with the -verbose option but then I have too much info. I'd like to be able
> to activate only macro related debug info with a switch. -Ymacro-debug-lite
> and -Ymacro-debug-verbose does not force display info either. So I must
> miss something.
Sie müssen sich anmelden, bevor Sie Nachrichten veröffentlichen können.
On Fri, Nov 16, 2012 at 8:42 AM, Eugene Burmako <xeno...@gmail.com> wrote:
> Looks like force=true does the trick. Otherwise it's only -verbose.
> 11:41 ~/Projects/Kepler (2.10.x)$ scala
> Welcome to Scala version 2.10.1-20121112-131306-1a6c859710 (Java
> HotSpot(TM) 64-Bit Server VM, Java 1.6.0_37).
> Type in expressions to have them evaluated.
> Type :help for more information.
> > The only way I've found to get it to print something in REPL is to call
> it
> > with the -verbose option but then I have too much info. I'd like to be
> able
> > to activate only macro related debug info with a switch.
> -Ymacro-debug-lite
> > and -Ymacro-debug-verbose does not force display info either. So I must
> > miss something.
-- Daniel C. Sobral
I travel to the future all the time.
Sie müssen sich anmelden, bevor Sie Nachrichten veröffentlichen können.
On Friday, November 16, 2012 12:55:10 PM UTC+1, Daniel Sobral wrote:
> That's what's documented.
> On Fri, Nov 16, 2012 at 8:42 AM, Eugene Burmako <xen...@gmail.com<javascript:>
> > wrote:
>> Looks like force=true does the trick. Otherwise it's only -verbose.
>> 11:41 ~/Projects/Kepler (2.10.x)$ scala
>> Welcome to Scala version 2.10.1-20121112-131306-1a6c859710 (Java
>> HotSpot(TM) 64-Bit Server VM, Java 1.6.0_37).
>> Type in expressions to have them evaluated.
>> Type :help for more information.
>> > The only way I've found to get it to print something in REPL is to call >> it
>> > with the -verbose option but then I have too much info. I'd like to be >> able
>> > to activate only macro related debug info with a switch. >> -Ymacro-debug-lite
>> > and -Ymacro-debug-verbose does not force display info either. So I must
>> > miss something.
> -- > Daniel C. Sobral
> I travel to the future all the time.
Sie müssen sich anmelden, bevor Sie Nachrichten veröffentlichen können.
On Friday, November 16, 2012 1:56:50 PM UTC+1, Léonard Schneider wrote:
> Thanks. Yes, I read the doc. I thought somehow that the force parameter > could passed through a command line option. That would have been neat.
> On Friday, November 16, 2012 12:55:10 PM UTC+1, Daniel Sobral wrote:
>> That's what's documented.
>> On Fri, Nov 16, 2012 at 8:42 AM, Eugene Burmako <xen...@gmail.com> wrote:
>>> Looks like force=true does the trick. Otherwise it's only -verbose.
>>> 11:41 ~/Projects/Kepler (2.10.x)$ scala
>>> Welcome to Scala version 2.10.1-20121112-131306-1a6c859710 (Java
>>> HotSpot(TM) 64-Bit Server VM, Java 1.6.0_37).
>>> Type in expressions to have them evaluated.
>>> Type :help for more information.
>>> > The only way I've found to get it to print something in REPL is to >>> call it
>>> > with the -verbose option but then I have too much info. I'd like to be >>> able
>>> > to activate only macro related debug info with a switch. >>> -Ymacro-debug-lite
>>> > and -Ymacro-debug-verbose does not force display info either. So I must
>>> > miss something.
>> -- >> Daniel C. Sobral
>> I travel to the future all the time.
Sie müssen sich anmelden, bevor Sie Nachrichten veröffentlichen können.