diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2013-11-07 17:04:36 +0000 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2013-11-12 11:32:23 +0000 |
commit | c897bac54954373f63511702731fe2cb23c0c98e (patch) | |
tree | 4074b4a2c43627b56d9c18c754a5cfbd340d8573 /src/libexpr/nixexpr.cc | |
parent | 273322c7732093a354e86df82cf75d6604b8bce8 (diff) | |
download | guix-c897bac54954373f63511702731fe2cb23c0c98e.tar.gz |
Make function calls tail-recursive
Diffstat (limited to 'src/libexpr/nixexpr.cc')
-rw-r--r-- | src/libexpr/nixexpr.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libexpr/nixexpr.cc b/src/libexpr/nixexpr.cc index 2e26d50817..d52f7eadbb 100644 --- a/src/libexpr/nixexpr.cc +++ b/src/libexpr/nixexpr.cc @@ -330,7 +330,7 @@ void ExprLambda::setName(Symbol & name) } -string ExprLambda::showNamePos() +string ExprLambda::showNamePos() const { return (format("%1% at %2%") % (name.set() ? "`" + (string) name + "'" : "an anonymous function") % pos).str(); } |