可用的回归测试通过的标准版本
This commit is contained in:
@@ -56,8 +56,12 @@ def _build_type_maps():
|
||||
if _cname and _obj.IsBasicType():
|
||||
_BASIC_TYPES_MAP[_cname] = _cname
|
||||
_T_TYPE_PATTERNS.append((_name, _cname))
|
||||
except Exception:
|
||||
pass
|
||||
except Exception as _e:
|
||||
from lib.core.VLogger import get_logger as _vlog
|
||||
from lib.constants.config import mode as _ConfigMode
|
||||
if _ConfigMode == "strict":
|
||||
raise
|
||||
_vlog().warning(f"构建类型映射时实例化 CType 子类失败: {_e}", "Exception")
|
||||
|
||||
|
||||
# =============================================================================
|
||||
|
||||
Reference in New Issue
Block a user