[prev in list] [next in list] [prev in thread] [next in thread] 

List:       groovy-dev
Subject:    About: println /xxx/
From:       Huxi LI <huxili () gmail ! com>
Date:       2005-10-21 15:46:31
Message-ID: 7233a2ec0510210846h2f7c2afarbb37d29d179b3c55 () mail ! gmail ! com
[Download RAW message or body]

def m =3D /xxx/
println m

The above code is OK and it prints out "xxx", but the following code
throws an error:
println /xxx/

I am just wondering if it is bug?


--
Huxi LI
106, Rue Louise Michel
78500 Sartrouville
France

[Attachment #3 (text/html)]

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; def m = /xxx/ <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; println m <br>
<br>
The above code is OK and it prints out &quot;xxx&quot;, but the following code <br>
throws an error:<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; println /xxx/<br>
<br>
I am just wondering if it is bug? <br>
<br clear="all"><br>-- <br>Huxi LI<br>106, Rue Louise Michel<br>78500 Sartrouville<br>France


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic