Skip to content

Commit

Permalink
As suggested here: Zewo#21
Browse files Browse the repository at this point in the history
Change from @_silgen_name("swift_getFieldAt") to @_silgen_name("swift_getTypeByMangledNameInContext")
  • Loading branch information
Matteo Polito committed Sep 30, 2019
1 parent ca59bdd commit 89f6bb0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Sources/Reflection/NominalType.swift
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ extension NominalType {

}

@_silgen_name("swift_getFieldAt")
//@_silgen_name("swift_getFieldAt")
@_silgen_name("swift_getTypeByMangledNameInContext")
private func getFieldAt(
_ type: Any.Type,
_ index: Int,
Expand Down

0 comments on commit 89f6bb0

Please sign in to comment.