Skip to content
Snippets Groups Projects
Unverified Commit 9a250596 authored by zimbatm's avatar zimbatm
Browse files

findDerivationFilename: add FIXME

parent d407f4d1
No related branches found
No related tags found
No related merge requests found
......@@ -103,6 +103,8 @@ Pos findDerivationFilename(EvalState & state, Value & v, std::string what)
throw Error("package '%s' has no source location information", what);
}
// FIXME: is it possible to extract the Pos object instead of doing this
// toString + parsing?
auto pos = state.forceString(*v2);
auto colon = pos.rfind(':');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment