mirror of
https://github.com/vlang/v.git
synced 2025-09-19 04:17:46 -04:00
cgen: fix building with -no-preludes -no-builtin
(part 1)
This commit is contained in:
parent
1d41d9daf9
commit
fa1a7a85f0
@ -7203,6 +7203,11 @@ fn (mut g Gen) interface_table() string {
|
|||||||
if isym.kind != .interface_ {
|
if isym.kind != .interface_ {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
if isym.info !is ast.Interface {
|
||||||
|
// Do not remove this check, `isym.info` could be `&IError`.
|
||||||
|
// dump(isym)
|
||||||
|
continue
|
||||||
|
}
|
||||||
inter_info := isym.info as ast.Interface
|
inter_info := isym.info as ast.Interface
|
||||||
if inter_info.is_generic {
|
if inter_info.is_generic {
|
||||||
continue
|
continue
|
||||||
|
Loading…
x
Reference in New Issue
Block a user