From bbba20d654a764c2d2de272fd5f45a2433870640 Mon Sep 17 00:00:00 2001 From: Delyan Angelov Date: Mon, 18 Nov 2024 23:21:38 +0200 Subject: [PATCH] fix: enable compilation with `-skip-unused` (workaround the interface bug in v.markused) --- src/analyzer/psi/types/BaseType.v | 1 + 1 file changed, 1 insertion(+) diff --git a/src/analyzer/psi/types/BaseType.v b/src/analyzer/psi/types/BaseType.v index 68256620..e7bad9de 100644 --- a/src/analyzer/psi/types/BaseType.v +++ b/src/analyzer/psi/types/BaseType.v @@ -5,6 +5,7 @@ pub: module_name string } +@[markused] pub fn (s &BaseType) module_name() string { return s.module_name }