Hi Philippe,
Thanks for your response! I have one more question.
>> In general it is because we don't have bridging on Linux.
Pushkar N Kulkarni,
Will we have it in future? Pardon my ignorance.
Pushkar N Kulkarni,
IBM Runtimes
Simplicity is prerequisite for reliability - Edsger W. Dijkstra
-----phaus...@apple.com wrote: -----
To: Pushkar N Kulkarni/India/IBM@IBMIN
From: Philippe Hausler
Sent by: phaus...@apple.com
Date: 09/08/2016 09:11PM
Cc: Tony Parker <anthony.par...@apple.com>, Swift corelibs dev <swift-corelibs-dev@swift.org>
Subject: Re: Coercion problems on Linux
Sent from my iPhone
From: Philippe Hausler
Sent by: phaus...@apple.com
Date: 09/08/2016 09:11PM
Cc: Tony Parker <anthony.par...@apple.com>, Swift corelibs dev <swift-corelibs-dev@swift.org>
Subject: Re: Coercion problems on Linux
That particular issue we could plaster over with generics. In general it is because we don't have bridging on Linux.
Sent from my iPhone
Hi Tony/Philippe,There've been a few bug reports related to the coercion problems between Swift and Foundation types on Linux. For example this one: https://bugs.swift.org/browse/SR-2477 (Double/Int don't coerce with NSNumber on Linux).Is there any general approach you'd suggest to work around this coercion limitation on Linux?
Pushkar N Kulkarni,IBM RuntimesSimplicity is prerequisite for reliability - Edsger W. Dijkstra
_______________________________________________ swift-corelibs-dev mailing list swift-corelibs-dev@swift.org https://lists.swift.org/mailman/listinfo/swift-corelibs-dev