You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Disclaimer: Such deserialization style COULD be a security risk, however we ensure to always use the `summonType`
445
-
// and actor system associated APIs which working with mangled names and types -- the system can be configured in strict
446
-
// or lose mode, meaning that normally it should ENFORCE that we never deserialize a type that we did not EXPLICITLY enlist to be available for such intents.
447
-
func test_mangledTypeName_catDogList()throws{
448
-
varok=true
449
-
#if compiler(>=5.3)
450
-
ok =true // ok
451
-
#else
452
-
ok =false
453
-
#endif
454
-
455
-
#if os(Linux)
456
-
ok = ok && true // ok
457
-
#else
458
-
if #available(macOS 10.16, iOS 14.0,*){
459
-
() // ok, it's available on these platforms
460
-
}else{
461
-
ok =false
462
-
}
463
-
#endif
464
-
465
-
guard ok else{
466
-
pnote("Skipping \(#function) test, as the required [_getMangledTypeName] is not available on this platform.")
0 commit comments