Skip to content

Commit 0461bf8

Browse files
committed
fix errors with V from vlang/v#23510
1 parent 5351039 commit 0461bf8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/analyzer/psi/TypeInferer.v

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -643,7 +643,7 @@ pub fn (t &TypeInferer) infer_index_type(typ types.Type) types.Type {
643643

644644
pub fn (t &TypeInferer) convert_type(plain_type ?PsiElement, mut visited map[string]types.Type) types.Type {
645645
typ := plain_type or { return types.unknown_type }
646-
if plain_type !is PlainType {
646+
if typ !is PlainType {
647647
return types.unknown_type
648648
}
649649

0 commit comments

Comments
 (0)