move hide behind @ and specify with :
This commit is contained in:
@@ -13,13 +13,13 @@ TestOuter :: distinct TestInner
|
||||
TestOuterAlias :: alias TestOuter
|
||||
|
||||
|
||||
hide array_info_matches func($Array, $Child type, $len usize) bool {
|
||||
@hide array_info_matches func($Array, $Child type, $len usize) bool {
|
||||
match typeinfo!(Array) {
|
||||
.array |info|: return info.child == Child and info.len == len
|
||||
else: return false
|
||||
}
|
||||
}
|
||||
hide distinct_info_matches func($Distinct, $Backing type) bool {
|
||||
@hide distinct_info_matches func($Distinct, $Backing type) bool {
|
||||
match typeinfo!(Distinct) {
|
||||
.distinct |backing|: return backing == Backing
|
||||
else: return false
|
||||
|
||||
Reference in New Issue
Block a user