checker: fix a typo

pull/10081/head
Alexander Medvednikov 2021-05-11 09:48:39 +03:00
parent 0f28ff4c8d
commit 0b75a21aab
1 changed files with 1 additions and 1 deletions

View File

@ -2563,7 +2563,7 @@ fn semicolonize(main string, details string) string {
fn (mut c Checker) type_implements(typ ast.Type, interface_type ast.Type, pos token.Position) bool { fn (mut c Checker) type_implements(typ ast.Type, interface_type ast.Type, pos token.Position) bool {
$if debug_interface_type_implements ? { $if debug_interface_type_implements ? {
eprintln('> type_implements typ: $typ.debug() | inter_typ: $interface_typ.debug()') eprintln('> type_implements typ: $typ.debug() | inter_typ: $interface_type.debug()')
} }
utyp := c.unwrap_generic(typ) utyp := c.unwrap_generic(typ)
typ_sym := c.table.get_type_symbol(utyp) typ_sym := c.table.get_type_symbol(utyp)