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 11import swift
22
33string 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 ( )
97}
108
119from VarDecl v , Type t
Original file line number Diff line number Diff line change 11import swift
22
33string 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 ( )
97}
108
119from VarDecl v , TypeDecl td
You can’t perform that action at this time.
0 commit comments