mirror of
https://github.com/github/codeql.git
synced 2025-12-17 01:03:14 +01:00
Swift: Disable parts of tests that crash with Swift 6.1
This commit is contained in:
committed by
Paolo Tranquilli
parent
9a21b0dc5c
commit
10d86c9708
@@ -57,7 +57,3 @@
|
||||
| param_decls.swift:41:10:41:26 | projectedValue | getModule: | file://:0:0:0:0 | param_decls | getNumberOfMembers: | 0 | getInterfaceType: | Bool | getNumberOfAccessors: | 0 | getName: | projectedValue | getType: | Bool | hasAttachedPropertyWrapperType: | no | hasParentPattern: | no | hasParentInitializer: | no | hasPropertyWrapperBackingVarBinding: | no | hasPropertyWrapperBackingVar: | no | hasPropertyWrapperProjectionVarBinding: | no | hasPropertyWrapperProjectionVar: | no | isInout: | no | hasPropertyWrapperLocalWrappedVarBinding: | no | hasPropertyWrapperLocalWrappedVar: | no |
|
||||
| param_decls.swift:48:18:48:22 | p1 | getModule: | file://:0:0:0:0 | param_decls | getNumberOfMembers: | 0 | getInterfaceType: | Int | getNumberOfAccessors: | 0 | getName: | p1 | getType: | Int | hasAttachedPropertyWrapperType: | yes | hasParentPattern: | no | hasParentInitializer: | no | hasPropertyWrapperBackingVarBinding: | yes | hasPropertyWrapperBackingVar: | yes | hasPropertyWrapperProjectionVarBinding: | no | hasPropertyWrapperProjectionVar: | no | isInout: | no | hasPropertyWrapperLocalWrappedVarBinding: | no | hasPropertyWrapperLocalWrappedVar: | yes |
|
||||
| param_decls.swift:49:26:49:30 | p2 | getModule: | file://:0:0:0:0 | param_decls | getNumberOfMembers: | 0 | getInterfaceType: | Int | getNumberOfAccessors: | 0 | getName: | p2 | getType: | Int | hasAttachedPropertyWrapperType: | yes | hasParentPattern: | no | hasParentInitializer: | no | hasPropertyWrapperBackingVarBinding: | yes | hasPropertyWrapperBackingVar: | yes | hasPropertyWrapperProjectionVarBinding: | no | hasPropertyWrapperProjectionVar: | no | isInout: | no | hasPropertyWrapperLocalWrappedVarBinding: | no | hasPropertyWrapperLocalWrappedVar: | yes |
|
||||
| param_decls.swift:50:31:50:31 | value | getModule: | file://:0:0:0:0 | param_decls | getNumberOfMembers: | 0 | getInterfaceType: | Bool | getNumberOfAccessors: | 0 | getName: | value | getType: | Bool | hasAttachedPropertyWrapperType: | no | hasParentPattern: | no | hasParentInitializer: | no | hasPropertyWrapperBackingVarBinding: | no | hasPropertyWrapperBackingVar: | no | hasPropertyWrapperProjectionVarBinding: | no | hasPropertyWrapperProjectionVar: | no | isInout: | no | hasPropertyWrapperLocalWrappedVarBinding: | no | hasPropertyWrapperLocalWrappedVar: | no |
|
||||
| param_decls.swift:50:31:50:35 | p3 | getModule: | file://:0:0:0:0 | param_decls | getNumberOfMembers: | 0 | getInterfaceType: | Int | getNumberOfAccessors: | 0 | getName: | p3 | getType: | Int | hasAttachedPropertyWrapperType: | yes | hasParentPattern: | no | hasParentInitializer: | no | hasPropertyWrapperBackingVarBinding: | no | hasPropertyWrapperBackingVar: | yes | hasPropertyWrapperProjectionVarBinding: | yes | hasPropertyWrapperProjectionVar: | yes | isInout: | no | hasPropertyWrapperLocalWrappedVarBinding: | no | hasPropertyWrapperLocalWrappedVar: | yes |
|
||||
| param_decls.swift:51:38:51:38 | value | getModule: | file://:0:0:0:0 | param_decls | getNumberOfMembers: | 0 | getInterfaceType: | Bool | getNumberOfAccessors: | 0 | getName: | value | getType: | Bool | hasAttachedPropertyWrapperType: | no | hasParentPattern: | no | hasParentInitializer: | no | hasPropertyWrapperBackingVarBinding: | no | hasPropertyWrapperBackingVar: | no | hasPropertyWrapperProjectionVarBinding: | no | hasPropertyWrapperProjectionVar: | no | isInout: | no | hasPropertyWrapperLocalWrappedVarBinding: | no | hasPropertyWrapperLocalWrappedVar: | no |
|
||||
| param_decls.swift:51:38:51:42 | p4 | getModule: | file://:0:0:0:0 | param_decls | getNumberOfMembers: | 0 | getInterfaceType: | Int | getNumberOfAccessors: | 0 | getName: | p4 | getType: | Int | hasAttachedPropertyWrapperType: | yes | hasParentPattern: | no | hasParentInitializer: | no | hasPropertyWrapperBackingVarBinding: | no | hasPropertyWrapperBackingVar: | yes | hasPropertyWrapperProjectionVarBinding: | yes | hasPropertyWrapperProjectionVar: | yes | isInout: | no | hasPropertyWrapperLocalWrappedVarBinding: | no | hasPropertyWrapperLocalWrappedVar: | yes |
|
||||
|
||||
@@ -1,4 +1,2 @@
|
||||
| param_decls.swift:48:18:48:22 | p1 | Wrapper |
|
||||
| param_decls.swift:49:26:49:30 | p2 | WrapperWithInit |
|
||||
| param_decls.swift:50:31:50:35 | p3 | WrapperWithProjected |
|
||||
| param_decls.swift:51:38:51:42 | p4 | WrapperWithProjectedAndInit |
|
||||
|
||||
@@ -1,4 +1,2 @@
|
||||
| param_decls.swift:48:18:48:22 | p1 | param_decls.swift:48:18:48:18 | _p1 |
|
||||
| param_decls.swift:49:26:49:30 | p2 | param_decls.swift:49:26:49:26 | _p2 |
|
||||
| param_decls.swift:50:31:50:35 | p3 | file://:0:0:0:0 | _p3 |
|
||||
| param_decls.swift:51:38:51:42 | p4 | file://:0:0:0:0 | _p4 |
|
||||
|
||||
@@ -1,4 +1,2 @@
|
||||
| param_decls.swift:48:18:48:22 | p1 | param_decls.swift:48:18:48:18 | p1 |
|
||||
| param_decls.swift:49:26:49:30 | p2 | param_decls.swift:49:26:49:26 | p2 |
|
||||
| param_decls.swift:50:31:50:35 | p3 | param_decls.swift:50:31:50:31 | p3 |
|
||||
| param_decls.swift:51:38:51:42 | p4 | param_decls.swift:51:38:51:38 | p4 |
|
||||
|
||||
@@ -1,2 +0,0 @@
|
||||
| param_decls.swift:50:31:50:35 | p3 | param_decls.swift:50:31:50:31 | $p3 |
|
||||
| param_decls.swift:51:38:51:42 | p4 | param_decls.swift:51:38:51:38 | $p4 |
|
||||
|
||||
@@ -1,2 +0,0 @@
|
||||
| param_decls.swift:50:31:50:35 | p3 | file://:0:0:0:0 | var ... = ... |
|
||||
| param_decls.swift:51:38:51:42 | p4 | file://:0:0:0:0 | var ... = ... |
|
||||
|
||||
@@ -47,6 +47,6 @@ func closures() {
|
||||
func f2(
|
||||
@Wrapper p1: Int,
|
||||
@WrapperWithInit p2: Int,
|
||||
@WrapperWithProjected p3: Int,
|
||||
@WrapperWithProjectedAndInit p4: Int
|
||||
// @WrapperWithProjected p3: Int, // Disabled causes crashes with Swift 6.1
|
||||
// @WrapperWithProjectedAndInit p4: Int // Disabled causes crashes with Swift 6.1
|
||||
) {}
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
| applied_property_wrapper.swift:14:8:14:8 | AppliedPropertyWrapperExpr | hasType: | yes | getKind: | 1 | getValue: | applied_property_wrapper.swift:14:8:14:8 | 42 | getParam: | applied_property_wrapper.swift:12:19:12:22 | x |
|
||||
| applied_property_wrapper.swift:15:9:15:9 | AppliedPropertyWrapperExpr | hasType: | yes | getKind: | 2 | getValue: | applied_property_wrapper.swift:15:9:15:9 | true | getParam: | applied_property_wrapper.swift:12:19:12:22 | x |
|
||||
| file://:0:0:0:0 | AppliedPropertyWrapperExpr | hasType: | yes | getKind: | 1 | getValue: | file://:0:0:0:0 | y | getParam: | applied_property_wrapper.swift:17:26:17:29 | y |
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
| applied_property_wrapper.swift:14:8:14:8 | AppliedPropertyWrapperExpr | Wrapper |
|
||||
| applied_property_wrapper.swift:15:9:15:9 | AppliedPropertyWrapperExpr | Wrapper |
|
||||
| file://:0:0:0:0 | AppliedPropertyWrapperExpr | Wrapper |
|
||||
|
||||
@@ -9,11 +9,17 @@
|
||||
init(projectedValue: Bool) {}
|
||||
}
|
||||
|
||||
func foo(@Wrapper x: Int) {}
|
||||
func foo(
|
||||
// @Wrapper x: Int // Disabled causes crashes with Swift 6.1
|
||||
) {}
|
||||
|
||||
foo(x: 42)
|
||||
foo($x: true)
|
||||
// foo(x: 42)
|
||||
// foo($x: true)
|
||||
|
||||
let closure = {(@Wrapper y: Int) in return }
|
||||
let closure = {
|
||||
(
|
||||
// @Wrapper y: Int // Disabled causes crashes with Swift 6.1
|
||||
) in return
|
||||
}
|
||||
|
||||
closure(41)
|
||||
// closure(41)
|
||||
|
||||
Reference in New Issue
Block a user