[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[List Home]
|
Re: [aspectj-users] Proposal of a Patch for Scala
|
- From: Andy Clement <andrew.clement@xxxxxxxxx>
- Date: Wed, 7 Oct 2009 14:41:25 -0700
- Delivered-to: aspectj-users@eclipse.org
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=odrRIxvacwPojhRSBp8xEjsHb295v2VYGbUMfymvxsM=; b=gYZtt1Ld+T0CkH/yjJmdSxfj65Wz6ZD/6N1Rysif7NYhdW9udi8tmnDk9L0qL3NMZ1 dKyTrw7PyC3As6HlqfFX+I+A/qxfmYPDM5fk0csfKpvmo/yUqKhXXnGOplJXeP/5nczC 8lUNQpL74GlMebu8N5MQtve2pEjZ3NfgM+MpA=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=lX8HoI/jOUTTsdh5NXwVYdpQy66r7QaXvj7rwWs9QrG6KNkk1TNnlyo7dPpfYroCax 4KKvVeA+u9tomzJgLMT4aCz2ImzAlItt1JDVw3m3tC17K3A+kMwAqw/2Y3Fv2comQod2 ZU4BW7m5PEK5k/cDeSfqCdVeY6k1p9H4ZCCsU=
If you can build a simple testcase that shows the problem (which ought
to be possible without using scalac as it is just a naming problem), I
will work to put the patch from the bug in.
As I just commented in the bug, I don't have enough there to create a
regression test. For example, this works:
> Outer.java
public class Outer {
public class Inner$1 {
}
public class Inner$$$1$$2 {
}
}
> X.java
aspect X {
before(): within(*) {}
}
ajc X.java Outer.java
I suspect the pointcut needs changing to drive appropriate analysis
that leads to the failure.
cheers,
Andy
2009/10/7 Philip Köster <philip.koester@xxxxxx>:
>> Is this the problem already raised as:
>
> I think it is the very same problem, yes.
>
>> That includes a possibly more general patch than the one you propose?
>
> Possibly. I don't know what this fix does, exactly. Linas and I already
> talked on the scala-tools list about this matter and now we come up with two
> different approaches. I just noticed yesterday that there was a new weaver
> version around (1.6.6) which still has this Scala problem.
>
> So I simply got impatient to have a working fix.
>
> As far as I can see it's not the dollar signs that pose the problem but only
> that the synthesized `anon' class does not result in a `ReferenceType'.
>
> But I'm not an expert in this field---I only seeked for a working solution.
>
> Cheers
> ---Phil
> _______________________________________________
> aspectj-users mailing list
> aspectj-users@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/aspectj-users
>