We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e1454a6 commit 887af3aCopy full SHA for 887af3a
Tests/PythonKitTests/PythonFunctionTests.swift
@@ -84,6 +84,14 @@ class PythonFunctionTests: XCTestCase {
84
XCTAssertEqual(printOutput, "Class Dynamically Created!")
85
}
86
87
+ // There is a build error where passing a simple `PythonClass.Members`
88
+ // literal makes the literal's type ambiguous. It is confused with
89
+ // `[String: PythonObject]`. To fix this error, we add a
90
+ // `@_disfavoredOverload` attribute to the more specific initializer.
91
+ func testPythonClassInitializer() {
92
+
93
+ }
94
95
func testPythonClassInheritance() {
96
guard canUsePythonFunction else {
97
return
0 commit comments