cgen: clean up interface_table() (#12816)

pull/13053/head weekly.2021.50
yuyi 2021-12-13 19:45:27 +08:00 committed by GitHub
parent be5823069a
commit d5c0bdf954
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 3 deletions

View File

@ -7189,9 +7189,6 @@ fn (mut g Gen) interface_table() string {
if isym.kind != .interface_ {
continue
}
if isym.info !is ast.Interface {
continue
}
inter_info := isym.info as ast.Interface
if inter_info.is_generic {
continue