mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-11 00:36:20 +02:00
Try to fix issues with macos clang, v2
This commit is contained in:
parent
37e84316c2
commit
726f5836d8
1 changed files with 4 additions and 4 deletions
|
@ -709,12 +709,12 @@ std::optional<EvalState::Doc> EvalState::getDoc(Value & v)
|
|||
LocalNoInlineNoReturn(void throwTypeErrorWithTrace(
|
||||
const Pos & pos,
|
||||
const char * s,
|
||||
const std::string & s2,
|
||||
const std::string_view & s2,
|
||||
const Symbol & sym,
|
||||
const Pos & p2,
|
||||
const std::string_view & s3))
|
||||
{
|
||||
throw TypeError({
|
||||
throw TypeError(ErrorInfo {
|
||||
.msg = hintfmt(s, s2, sym),
|
||||
.errPos = pos,
|
||||
}).addTrace(p2, s3);
|
||||
|
@ -724,12 +724,12 @@ LocalNoInlineNoReturn(void throwTypeErrorWithTrace(
|
|||
const Pos & pos,
|
||||
const Suggestions & suggestions,
|
||||
const char * s,
|
||||
const std::string & s2,
|
||||
const std::string_view & s2,
|
||||
const Symbol & sym,
|
||||
const Pos & p2,
|
||||
const std::string_view & s3))
|
||||
{
|
||||
throw TypeError({
|
||||
throw TypeError(ErrorInfo {
|
||||
.msg = hintfmt(s, s2, sym),
|
||||
.errPos = pos,
|
||||
.suggestions = suggestions
|
||||
|
|
Loading…
Reference in a new issue