File tree Expand file tree Collapse file tree 2 files changed +6
-10
lines changed
swift/ql/test/library-tests/elements/type/nominaltype Expand file tree Collapse file tree 2 files changed +6
-10
lines changed Original file line number Diff line number Diff line change 1
1
import swift
2
2
3
3
string describe ( Type t ) {
4
- (
5
- result = "getAliasedType:" + t .( TypeAliasType ) .getAliasedType ( )
6
- ) or (
7
- result = "getABaseType:" + t .( NominalType ) .getABaseType ( )
8
- )
4
+ result = "getAliasedType:" + t .( TypeAliasType ) .getAliasedType ( )
5
+ or
6
+ result = "getABaseType:" + t .( NominalType ) .getABaseType ( )
9
7
}
10
8
11
9
from VarDecl v , Type t
Original file line number Diff line number Diff line change 1
1
import swift
2
2
3
3
string describe ( TypeDecl td ) {
4
- /*(
5
- result = "getAliasedType:" + td.(TypeAliasDecl).getAliasedType() TODO: not yet implemented.
6
- ) or */ (
7
- result = "getABaseType:" + td .( NominalTypeDecl ) .getABaseType ( )
8
- )
4
+ //result = "getAliasedType:" + td.(TypeAliasDecl).getAliasedType() TODO: not yet implemented.
5
+ //or
6
+ result = "getABaseType:" + td .( NominalTypeDecl ) .getABaseType ( )
9
7
}
10
8
11
9
from VarDecl v , TypeDecl td
You can’t perform that action at this time.
0 commit comments