File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -89,7 +89,7 @@ extension JavaClassMacro: MemberMacro {
8989
9090 let nonOptionalAs : DeclSyntax = """
9191 /// Casting to `` \( raw: superclass) `` will never be nil because `` \( raw: className. split ( separator: " . " ) . last!) `` extends it.
92- public func `as`(_: \( raw: superclass) .type ) -> \( raw: superclass) {
92+ public func `as`(_: \( raw: superclass) .Type ) -> \( raw: superclass) {
9393 return \( raw: superclass) (javaHolder: javaHolder)
9494 }
9595 """
Original file line number Diff line number Diff line change @@ -80,7 +80,7 @@ class JavaKitMacroTests: XCTestCase {
8080 }
8181
8282 /// Casting to ``JavaObject`` will never be nil because ``HelloWorld`` extends it.
83- public func `as`(_: JavaObject.type ) -> JavaObject {
83+ public func `as`(_: JavaObject.Type ) -> JavaObject {
8484 return JavaObject(javaHolder: javaHolder)
8585 }
8686 }
You can’t perform that action at this time.
0 commit comments