Fix incorrect formatting arguments
Этот коммит содержится в:
родитель
83227e68df
коммит
7f507a7026
1 изменённых файлов: 1 добавлений и 1 удалений
|
@ -31,7 +31,7 @@ func (c *checker) checkType(t llvm.Type, checked map[llvm.Type]struct{}, special
|
||||||
return fmt.Errorf("type %q uses global context", t.String())
|
return fmt.Errorf("type %q uses global context", t.String())
|
||||||
default:
|
default:
|
||||||
// we used some other context by accident
|
// we used some other context by accident
|
||||||
return fmt.Errorf("type %q uses context %v instead of the main context %v", t.Context(), c.ctx)
|
return fmt.Errorf("type %q uses context %v instead of the main context %v", t.String(), t.Context(), c.ctx)
|
||||||
}
|
}
|
||||||
|
|
||||||
// if this is a composite type, check the components of the type
|
// if this is a composite type, check the components of the type
|
||||||
|
|
Загрузка…
Создание таблицы
Сослаться в новой задаче