message: fix core dump
diff: @@ -1090,14 +1090,19 @@ UHDM::typespec* CompileHelper::compileTypespec(
  }
  }
  if (!result) {
  - UHDM::VectorOfparam_assign* param_assigns = component->getParam_assigns();
  + if (component) {
  + UHDM::VectorOfparam_assign* param_assigns =
  + component->getParam_assigns();
  if (param_assigns) {
  for (param_assign* param : *param_assigns) {
  const std::string& param_name = param->Lhs()->VpiName();
  if (param_name == typeName) {
  const any* rhs = param->Rhs();
  if (const expr* exp = dynamic_cast<const expr*>(rhs)) {
  - int_typespec* its = buildIntTypespec(compileDesign, param->VpiFile(), typeName, exp->VpiValue(), param->VpiLineNo(), param->VpiColumnNo(), param->VpiLineNo(), param->VpiColumnNo());
  + int_typespec* its = buildIntTypespec(
  + compileDesign, param->VpiFile(), typeName,
  + exp->VpiValue(), param->VpiLineNo(), param->VpiColumnNo(),
  + param->VpiLineNo(), param->VpiColumnNo());
  // its->VpiParent((any*) param->Lhs());
  result = its;
  } else {
  @@ -1107,6 +1112,7 @@ UHDM::typespec* CompileHelper::compileTypespec(
  }
  }
  }
  + }
  if (!result) {
  while (instance) {
  if (ModuleInstance* inst = dynamic_cast<ModuleInstance*>(instance)) {
  