Hello Marco,

Thank you for pointing this out.
There was a bug in runtime type of well-known types in Native x10.
I just fixed it for trunk in r27690.

Thanks,
-- Mikio


2014-05-14 18:27 GMT+09:00 Marco Bungart <m.bung...@gmx.net>:

> Hello everyone,
>
> I just stumbled across something.
> When I try to query a Long-variable/value whether it is an instance of
> Arithmetic[Long] or not, the call returns a "false", but it should return
> "true", if I am not mistaken.
>
> With self-written interfaces or self-written classes implementing the
> Interface Arithmetic[T] the call returns "true".
>
> The same behaviour occurs for the Interfaces Bitwise[T] and Ordered[T]
> Comparable[T] seems to work fine (for me).
>
> A minimum working example is attached.
>
> I tested this with Native X10 only.
> I am using revision 27689 from the svn-repository (
> https://svn.code.sourceforge.net/p/x10/code/trunk), as well as gcc-4.8.2.
>
> Do I have a misconception about "instanceof" in X10 or is this a bug?
>
> Cheers and thanks in advance for any help,
>
> Marco Bungart
>
>
> ------------------------------------------------------------------------------
> "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
> Instantly run your Selenium tests across 300+ browser/OS combos.
> Get unparalleled scalability from the best Selenium testing platform
> available
> Simple to use. Nothing to install. Get started now for free."
> http://p.sf.net/sfu/SauceLabs
> _______________________________________________
> X10-users mailing list
> X10-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/x10-users
>
>
------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
X10-users mailing list
X10-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/x10-users

Reply via email to