swift
49b451fb - attempts to use FuncDecl for the accessors; and store the Storage using

Commit
1 year ago
attempts to use FuncDecl for the accessors; and store the Storage using an attribute; This goes back to fun with multiple definitions: <unknown>:0: error: multiple definitions of symbol '$s4main6WorkerC19distributedVariableSSyYaKFTE' [SILGenThunk.cpp:138](emitDistributedThunkForDecl) EMIT THUNK FOR: main.(file).WorkerProtocol.distributedVariable() [SILGenThunk.cpp:140](emitDistributedThunkForDecl) VAR: main.(file).WorkerProtocol.distributedVariable@/Users/ktoso/code/swift-project/swift/test/Distributed/Runtime/distributed_actor_localSystem_distributedProtocol.swift:24:19 [SILGenThunk.cpp:129](emitDistributedThunkForDecl) EMIT THUNK FOR: main.(file).WorkerProtocol.distributedVariable() [SILGenThunk.cpp:131](emitDistributedThunkForDecl) AFD: main.(file).WorkerProtocol._@/Users/ktoso/code/swift-project/swift/test/Distributed/Runtime/distributed_actor_localSystem_distributedProtocol.swift:24:49 [SILGenThunk.cpp:138](emitDistributedThunkForDecl) EMIT THUNK FOR: main.(file).Worker.distributedVariable() [SILGenThunk.cpp:140](emitDistributedThunkForDecl) VAR: main.(file).Worker.distributedVariable@/Users/ktoso/code/swift-project/swift/test/Distributed/Runtime/distributed_actor_localSystem_distributedProtocol.swift:35:19 [SILGenThunk.cpp:129](emitDistributedThunkForDecl) EMIT THUNK FOR: main.(file).Worker.distributedVariable() [SILGenThunk.cpp:131](emitDistributedThunkForDecl) AFD: main.(file).Worker._@/Users/ktoso/code/swift-project/swift/test/Distributed/Runtime/distributed_actor_localSystem_distributedProtocol.swift:35:47 <unknown>:0: error: multiple definitions of symbol '$s4main6WorkerC19distributedVariableSSyYaKFTE'
Author
Committer
Parents
Loading