ceylon / ceylon-spec

DEPRECATED
Apache License 2.0
108 stars 34 forks source link

Allow shared native elements for single backend #1459

Open quintesse opened 8 years ago

quintesse commented 8 years ago

Right now all shared declarations marked native must have a header and therefore must have an implementation for all backends. We should consider relaxing this restriction so we can have shared native implementations that only exist for a single backend (or a limited set of backends).

You'd only be able to reference these declarations from other native code for the same backend of course.