File tree 5 files changed +4
-7
lines changed
SwiftAndJavaJarSampleLib/src/test/java/com/example/swift
SwiftKitSampleApp/src/test/java/org/swift/swiftkit
SwiftKit/src/main/java/org/swift/swiftkit
5 files changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -45,8 +45,7 @@ void test_MySwiftClass_voidMethod() {
45
45
MySwiftClass o = new MySwiftClass (12 , 42 );
46
46
o .voidMethod ();
47
47
} catch (Throwable throwable ) {
48
- throw throwable ;
49
- // checkPaths(throwable);
48
+ checkPaths (throwable );
50
49
}
51
50
}
52
51
Original file line number Diff line number Diff line change 9
9
// See CONTRIBUTORS.txt for the list of Swift.org project authors
10
10
//
11
11
// SPDX-License-Identifier: Apache-2.0
12
-
13
-
14
12
//
15
13
//===----------------------------------------------------------------------===//
16
14
Original file line number Diff line number Diff line change @@ -69,6 +69,7 @@ public struct ImportedNominalType: ImportedDecl {
69
69
}
70
70
}
71
71
72
+ // TODO: replace this with `SwiftNominalTypeDeclaration.Kind`
72
73
public enum NominalTypeKind {
73
74
case `actor`
74
75
case `class`
Original file line number Diff line number Diff line change @@ -147,9 +147,8 @@ extension Swift2JavaTranslator {
147
147
" java.lang.invoke.* " ,
148
148
" java.util.Arrays " ,
149
149
" java.util.stream.Collectors " ,
150
- " java.nio.charset.StandardCharsets " ,
151
-
152
150
" java.util.concurrent.atomic.* " ,
151
+ " java.nio.charset.StandardCharsets " ,
153
152
]
154
153
155
154
}
Original file line number Diff line number Diff line change 15
15
package org .swift .swiftkit ;
16
16
17
17
import java .lang .foreign .*;
18
- import java .lang .invoke .MethodHandle ;
18
+ import java .lang .invoke .* ;
19
19
20
20
import static java .lang .foreign .ValueLayout .JAVA_BYTE ;
21
21
import static org .swift .swiftkit .SwiftKit .getSwiftInt ;
You can’t perform that action at this time.
0 commit comments