<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:syn="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/">
  <channel rdf:about="http://permalink.gmane.org/gmane.comp.lang.scala.internals">
    <title>gmane.comp.lang.scala.internals</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.scala.internals</link>
    <description/>
    <syn:updatePeriod>hourly</syn:updatePeriod>
    <syn:updateFrequency>1</syn:updateFrequency>
    <syn:updateBase>1901-01-01T00:00+00:00</syn:updateBase>
    <items>
      <rdf:Seq>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.scala.internals/9529"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.scala.internals/9528"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.scala.internals/9527"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.scala.internals/9526"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.scala.internals/9525"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.scala.internals/9524"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.scala.internals/9523"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.scala.internals/9522"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.scala.internals/9521"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.scala.internals/9520"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.scala.internals/9519"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.scala.internals/9518"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.scala.internals/9517"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.scala.internals/9516"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.scala.internals/9515"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.scala.internals/9514"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.scala.internals/9513"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.scala.internals/9512"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.scala.internals/9511"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.scala.internals/9510"/>
      </rdf:Seq>
    </items>
    <image rdf:resource="http://gmane.org/img/gmane-25t.png"/>
    <textinput rdf:resource=""/>
  </channel>
  <image rdf:about="http://gmane.org/img/gmane-25t.png">
    <title>Gmane</title>
    <url>http://gmane.org/img/gmane-25t.png</url>
    <link>http://gmane.org</link>
  </image>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.scala.internals/9529">
    <title>Re: ToolBoxes and running multiple trees</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.scala.internals/9529</link>
    <description>&lt;pre&gt;That is totally understandable.

I care about this because I want to reuse the ToolBox in DynamicProxy in 
order to improve performance (unscientifically, it makes method calls on 
the proxy take about half as long to resolve and execute). I can work 
around the issue by just catching the exception and resetting the FrontEnd. 
However, it really doesn't seem like ToolBoxes should have this limitation 
when there  is a performance cost to making a new one. You make the call. 
If you don't have time, I'll just catch the exception. 

On Wednesday, May 16, 2012 10:47:10 AM UTC-5, Eugene Burmako wrote:
&amp;gt;&lt;/pre&gt;</description>
    <dc:creator>Chris Hodapp</dc:creator>
    <dc:date>2012-05-16T16:03:36</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.scala.internals/9528">
    <title>Re: ToolBoxes and running multiple trees</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.scala.internals/9528</link>
    <description>&lt;pre&gt;Well... Martin and I are totally swamped with this reflection refactoring.

Is this bug a blocker for you? If yes, I could take a look tomorrow.

On 16 May 2012 18:37, Chris Hodapp &amp;lt;clhodapp1-Re5JQEeQqe8AvxtiuMwx3w&amp;lt; at &amp;gt;public.gmane.org&amp;gt; wrote:

&lt;/pre&gt;</description>
    <dc:creator>Eugene Burmako</dc:creator>
    <dc:date>2012-05-16T15:47:10</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.scala.internals/9527">
    <title>Re: ToolBoxes and running multiple trees</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.scala.internals/9527</link>
    <description>&lt;pre&gt;Any progress, Eugene?

&lt;/pre&gt;</description>
    <dc:creator>Chris Hodapp</dc:creator>
    <dc:date>2012-05-16T15:37:25</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.scala.internals/9526">
    <title>Re: virtpatmat and error messages</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.scala.internals/9526</link>
    <description>&lt;pre&gt;
yes
&lt;/pre&gt;</description>
    <dc:creator>Adriaan Moors</dc:creator>
    <dc:date>2012-05-16T15:28:08</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.scala.internals/9525">
    <title>Re: Re: I've updated GenASM as of today's trunk, for easier merging.</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.scala.internals/9525</link>
    <description>&lt;pre&gt;On Wed, May 16, 2012 at 4:18 PM, Johannes Rudolph
&amp;lt;johannes.rudolph-gM/Ye1E23mwN+BqQ9rBEUg&amp;lt; at &amp;gt;public.gmane.org&amp;gt; wrote:

This sounds like the best solution.

iulian




&lt;/pre&gt;</description>
    <dc:creator>iulian dragos</dc:creator>
    <dc:date>2012-05-16T14:57:43</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.scala.internals/9524">
    <title>Re: Re: I've updated GenASM as of today's trunk, for easier merging.</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.scala.internals/9524</link>
    <description>&lt;pre&gt;
Yes, I read it, but somehow missed this. Sorry.

Since this is such a standard practice, I'm a bit surprised we can't
use jarjar.




&lt;/pre&gt;</description>
    <dc:creator>iulian dragos</dc:creator>
    <dc:date>2012-05-16T14:57:00</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.scala.internals/9523">
    <title>virtpatmat and error messages</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.scala.internals/9523</link>
    <description>&lt;pre&gt;Are there any plans to improve the situation?

I'm talking about stuff like:

* Could not typecheck extractor call blah blah
* Wrong number of arguments for &amp;lt;none&amp;gt;: (stats:
List[Extractors.this.global.Tree], expr:
Extractors.this.global.Tree)Extractors.this.global.Block
* "Cannot find value foo, cannot find value bar, cannot find value
quux" when you just made a typo in a name of an extractor that binds
foo, bar and quux

Each of these errors are more or less okay, but when all of them kick
in, then a few typos can turn an error log into an unintelligible
mess.

I'm not attaching bug reports and whatnot, because I assume that these
are all facets of a single known issue, right?

&lt;/pre&gt;</description>
    <dc:creator>Eugene Burmako</dc:creator>
    <dc:date>2012-05-16T14:49:56</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.scala.internals/9522">
    <title>Re: GCD issue in both old and new patmat?</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.scala.internals/9522</link>
    <description>&lt;pre&gt;

Heck, I'd even settle for:

case (e: Exception) &amp;lt; at &amp;gt; (_: ClassCastException | _: CancelledKeyException |
_: IOException | _: ActorInitializationException) ⇒

But I think it's intuitive to assume that the type of the e will be the LUB
of the match.

Cheers,
√





&lt;/pre&gt;</description>
    <dc:creator>√iktor Ҡlang</dc:creator>
    <dc:date>2012-05-16T14:26:43</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.scala.internals/9521">
    <title>Re: Re: I've updated GenASM as of today's trunk, for easier merging.</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.scala.internals/9521</link>
    <description>&lt;pre&gt;
I think there are two issues:

 1) how to get a version of ASM which contains the patch
 2) how to package ASM with the compiler

Getting the patch into upstream ASM would only solve 1), right?

For issue 2) several proposals were discussed / tried:
 * use JarJar to alias ASM to another package. This doesn't work
currently because JarJar is run after the fact, meaning after the
complete compiler was once compiled with the original asm package
names. The problem as I understand it, is that JarJar doesn't know
about Scala's class-file metadata and so after aliasing Scala and Java
metadata conflicts.

 * include a fork of ASM with aliased package names directly in the
sources and use that

There are maybe two other options:
 * use JarJar on the asm.jar alone and then use the aliased package
names to refer to ASM from the scala compiler source code

 * don't alias at all but declare ASM as a maven/ivy dependency. This
way users of the compiler also using ASM could use the conflict
resolver of the dependency man&lt;/pre&gt;</description>
    <dc:creator>Johannes Rudolph</dc:creator>
    <dc:date>2012-05-16T14:18:20</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.scala.internals/9520">
    <title>Re: Re: I've updated GenASM as of today's trunk, for easier merging.</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.scala.internals/9520</link>
    <description>&lt;pre&gt;
I've just asked at the ASM mailing list whether making public those members 
won't hurt: 
  http://mail.ow2.org/wws/arc/asm/2012-05/msg00026.html

Miguel
http://lampwww.epfl.ch/~magarcia/ScalaCompilerCornerReloaded/


On Wednesday, May 16, 2012 3:58:12 PM UTC+2, Adriaan Moors wrote:
&amp;gt;&lt;/pre&gt;</description>
    <dc:creator>Miguel Garcia</dc:creator>
    <dc:date>2012-05-16T14:06:57</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.scala.internals/9519">
    <title>Re: Re: I've updated GenASM as of today's trunk, for easier merging.</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.scala.internals/9519</link>
    <description>&lt;pre&gt;... but I think we all agree the optimal solution is to get this patch into
ASM, right?
as far as I can tell, only 4 members are affected

On Wed, May 16, 2012 at 3:48 PM, Josh Suereth &amp;lt;joshua.suereth-Re5JQEeQqe8AvxtiuMwx3w&amp;lt; at &amp;gt;public.gmane.org&amp;gt;wrote:

&lt;/pre&gt;</description>
    <dc:creator>Adriaan Moors</dc:creator>
    <dc:date>2012-05-16T13:58:12</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.scala.internals/9518">
    <title>Re: Re: I've updated GenASM as of today's trunk, for easier merging.</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.scala.internals/9518</link>
    <description>&lt;pre&gt;ASM is one of the  most commonly used dependencies in Java libraries.  If
we don't alias it, most likely we will have binary incompatible conflcits
with other libraries that use ASM.  Convention now is to alias ASM
internally using JarJar or other such tools.   Not necessarily from source.

Did you see the thread where we discussed this before?

On Wed, May 16, 2012 at 9:42 AM, iulian dragos &amp;lt;jaguarul-Re5JQEeQqe8AvxtiuMwx3w&amp;lt; at &amp;gt;public.gmane.org&amp;gt; wrote:

&lt;/pre&gt;</description>
    <dc:creator>Josh Suereth</dc:creator>
    <dc:date>2012-05-16T13:48:56</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.scala.internals/9517">
    <title>Re: GCD issue in both old and new patmat?</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.scala.internals/9517</link>
    <description>&lt;pre&gt;
Fair enough, but it seems a little unfortunate that,

(new IllegalStateException).asInstanceOf[Throwable] match {
  case e : IllegalStateException =&amp;gt; val sanity: Exception = e
  case e : ClassCastException =&amp;gt; val sanity : Exception = e
}

which you might naively think is equivalent to Viktor's eg. is
perfectly OK, especially since one of the main uses of pattern
alternatives is to eliminate duplicate case clause RHS's in precisely
this kind of situation.

Cheers,


Miles

&lt;/pre&gt;</description>
    <dc:creator>Miles Sabin</dc:creator>
    <dc:date>2012-05-16T13:43:22</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.scala.internals/9516">
    <title>Re: Re: I've updated GenASM as of today's trunk, for easier merging.</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.scala.internals/9516</link>
    <description>&lt;pre&gt;
Why is it unacceptable to use the original package names?




&lt;/pre&gt;</description>
    <dc:creator>iulian dragos</dc:creator>
    <dc:date>2012-05-16T13:42:13</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.scala.internals/9515">
    <title>Re: Re: I've updated GenASM as of today's trunk, for easier merging.</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.scala.internals/9515</link>
    <description>&lt;pre&gt;+1 on moving to src/asm.

As far as using it directly as a dependency, there's precedence to alias
ASM.   IF Jarjar were actively maintained, we could use that.   As it
stands, this is the best "compromise" we have, unless you're offering a
better solution.

- Josh

On Wed, May 16, 2012 at 9:32 AM, iulian dragos &amp;lt;jaguarul-Re5JQEeQqe8AvxtiuMwx3w&amp;lt; at &amp;gt;public.gmane.org&amp;gt; wrote:

&lt;/pre&gt;</description>
    <dc:creator>Josh Suereth</dc:creator>
    <dc:date>2012-05-16T13:38:51</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.scala.internals/9514">
    <title>Re: Re: I've updated GenASM as of today's trunk, for easier merging.</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.scala.internals/9514</link>
    <description>&lt;pre&gt;I am strongly against pulling in more sources in the compiler project,
especially for a stable and maintained project like ASM. If I
understood correctly, the changes we needed were additions to work
around visibility? Could those be pushed upstream? I'm pretty sure the
ASM guys wouldn't mind supporting such a high-profile project like
Scala. If not, why not have a separate project for ASM, and
publish/maintain a fork *outside* the compiler tree?

And if all else fails, can we at least put those sources somewhere
else than src/compiler? src/asm?

iulian

On Sun, May 6, 2012 at 10:32 PM, Josh Suereth &amp;lt;joshua.suereth-Re5JQEeQqe8AvxtiuMwx3w&amp;lt; at &amp;gt;public.gmane.org&amp;gt; wrote:



&lt;/pre&gt;</description>
    <dc:creator>iulian dragos</dc:creator>
    <dc:date>2012-05-16T13:32:24</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.scala.internals/9513">
    <title>Re: GCD issue in both old and new patmat?</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.scala.internals/9513</link>
    <description>&lt;pre&gt;Miles, your example is different from Viktor's:

contrast
  val sanity: Exception = (e: Throwable)
to
  val sanity : A = (a: A)

On Wed, May 16, 2012 at 3:27 PM, Miles Sabin &amp;lt;miles-XKJT71GPLR04Q++5jOxPmw&amp;lt; at &amp;gt;public.gmane.org&amp;gt; wrote:

&lt;/pre&gt;</description>
    <dc:creator>Adriaan Moors</dc:creator>
    <dc:date>2012-05-16T13:31:58</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.scala.internals/9512">
    <title>Re: GCD issue in both old and new patmat?</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.scala.internals/9512</link>
    <description>&lt;pre&gt;
the root (selector type) to the leaves (variables in patterns),




Cheers

 - Martin
&lt;/pre&gt;</description>
    <dc:creator>martin odersky</dc:creator>
    <dc:date>2012-05-16T13:30:28</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.scala.internals/9511">
    <title>Re: GCD issue in both old and new patmat?</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.scala.internals/9511</link>
    <description>&lt;pre&gt;
But surely the LUB here should be Exception not Throwable?

I'm not sure I see how Viktor's example is different from,

scala&amp;gt; class A ; class B extends A ; class C extends A
defined class A
defined class B
defined class C

scala&amp;gt; ((new B) : A) match { case a &amp;lt; at &amp;gt; (_ : B | _ : C) =&amp;gt; val sanity : A = a }

scala&amp;gt;

Which is just fine.

Cheers,


Miles

&lt;/pre&gt;</description>
    <dc:creator>Miles Sabin</dc:creator>
    <dc:date>2012-05-16T13:27:46</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.scala.internals/9510">
    <title>Re: GCD issue in both old and new patmat?</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.scala.internals/9510</link>
    <description>&lt;pre&gt;I think we're talking about different things here.

recall Viktor's example:
(new IllegalStateException).asInstanceOf[Throwable] match { case e &amp;lt; at &amp;gt; (_:
IllegalStateException | _: ClassCastException) =&amp;gt; val sanity: Exception = e}

`e` has type `Throwable` since that's how alternatives are type checked,
thus you can't assign it to sanity

it's trivial to fix this in the type checker for this example, but we'd
also have to update the spec
don't know if now's a good time for that (well, actually, I would say it's
not)

        case Alternative(alts) =&amp;gt;
          val alts1 = alts mapConserve (alt =&amp;gt; typed(alt, mode | ALTmode,
pt))
          treeCopy.Alternative(tree, alts1) setType lub(alts1 map (_.tpe))
//pt


On Wed, May 16, 2012 at 3:17 PM, Eugene Burmako &amp;lt;eugene.burmako-p8DiymsW2f8&amp;lt; at &amp;gt;public.gmane.org&amp;gt;wrote:

&lt;/pre&gt;</description>
    <dc:creator>Adriaan Moors</dc:creator>
    <dc:date>2012-05-16T13:20:54</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.scala.internals/9509">
    <title>Re: GCD issue in both old and new patmat?</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.scala.internals/9509</link>
    <description>&lt;pre&gt;Does this mean that I cannot match something of static type Tree against,
say, Apply?

On May 16, 2012 4:14 PM, "Adriaan Moors" &amp;lt;adriaan.moors-p8DiymsW2f8&amp;lt; at &amp;gt;public.gmane.org&amp;gt; wrote:

&lt;/pre&gt;</description>
    <dc:creator>Eugene Burmako</dc:creator>
    <dc:date>2012-05-16T13:17:27</dc:date>
  </item>
  <textinput rdf:about="http://search.gmane.org/?group=$group=gmane.comp.lang.scala.internals">
    <title>Search Engine</title>
    <description>Search the mailing list at Gmane</description>
    <name>query</name>
    <link>http://search.gmane.org/?group=$group=gmane.comp.lang.scala.internals</link>
  </textinput>
</rdf:RDF>

