Re: [swift-dev] What can you change in a non-exhaustive enum?

2017-09-29 Thread David Sweeris via swift-dev
> On Sep 29, 2017, at 18:21, Jordan Rose via swift-dev > wrote: > > Hello again, swift-dev! This is a sort of follow-up to "What can you change > in a fixed-contents struct" from a few weeks ago, but this time concerning > enums. Worryingly, this seems to be an important consideration even fo

Re: [swift-dev] What can you change in a non-exhaustive enum?

2017-09-29 Thread Greg Titus via swift-dev
I think that you are going to be better served by making things more explicit for non-exhaustive enums with binary compatibility concerns. I don’t think that there is a solution that salvages an ordering for a jump table while still allowing open enums to change during the same @availability ver

[swift-dev] Code that uses the is-Swift metadata bit

2017-09-29 Thread Greg Parker via swift-dev
I'm looking for all code that uses the is-Swift bit in class metadata. Uses that I know of: * Compiler-generated class metadata (addClassDataPointer() in GenMeta.cpp) * Runtime metadata checks (isTypeMetadata() inMetadata.h) * Stuff in lldb and other debugging tools * Stuff in the Objective-C runt

[swift-dev] What can you change in a non-exhaustive enum?

2017-09-29 Thread Jordan Rose via swift-dev
Hello again, swift-dev! This is a sort of follow-up to "What can you change in a fixed-contents struct" from a few weeks ago, but this time concerning enums. Worryingly, this seems to be an important consideration even for non-exhaustive enums, which are normally the ones where we'd want to allo

Re: [swift-dev] Builtin.loadRaw

2017-09-29 Thread Joe Groff via swift-dev
> On Sep 29, 2017, at 8:08 AM, Sam Ding wrote: > > Hi Slava & Joe, > > Thank you for the response. > > The failed test case is "generic instantiation" of KeyPath.swift. Here is > details of log: > > [ RUN ] key paths.key path generic instantiation > stdout>>> check failed at /home/wk/sw4/sw

Re: [swift-dev] Builtin.loadRaw

2017-09-29 Thread Sam Ding via swift-dev
Hi Slava & Joe, Thank you for the response. The failed test case is "generic instantiation" of KeyPath.swift. Here is details of log: [ RUN ] key paths.key path generic instantiation stdout>>> check failed at /home/wk/sw4/swift/test/stdlib/KeyPath.swift, line 193 std

[swift-dev] [Swift CI] Build Failure: 1. OSS - Swift (Tools Opt+Assert, Stdlib Opt+DebInfo+Assert, Resilience) - macOS (master) #58

2017-09-29 Thread no-reply--- via swift-dev
Title: Report [FAILURE] oss-swift_tools-RA_stdlib-RDA_test-macos-resilience [#58] Build URL:https://ci.swift.org/job/oss-swift_tools-RA_stdlib-RDA_test-macos-resilience/58/ Project:oss-swift_tools-RA_stdlib-RDA_test-macos-resilience Date of build:Fri, 29 Sep 2017 03:47:00 -05