Skip to content
This repository has been archived by the owner on Jul 1, 2023. It is now read-only.

Xcode editor suggests wrong stubs for Layer protocol #890

Open
ematejska opened this issue Apr 27, 2020 · 1 comment
Open

Xcode editor suggests wrong stubs for Layer protocol #890

ematejska opened this issue Apr 27, 2020 · 1 comment

Comments

@ematejska
Copy link
Contributor

If you make a struct with inheritance of the Layer protocol and have not added the function:

public func call() -> Tensor<Float>

the Xcode editor suggest as stubs:

public typealias Input = <#type#>

public typealias Output = <#type#>

This is not correct and confusing for new users.. The right stub should be

public func call() -> Tensor<Float>
@ematejska
Copy link
Contributor Author

Porting https://bugs.swift.org/browse/TF-484 here. Filed by Theo Modderman.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant