diff options
Diffstat (limited to 'Build/source/utils/asymptote/exp.h')
-rw-r--r-- | Build/source/utils/asymptote/exp.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/Build/source/utils/asymptote/exp.h b/Build/source/utils/asymptote/exp.h index f3d086dcba3..fa4e464a5b4 100644 --- a/Build/source/utils/asymptote/exp.h +++ b/Build/source/utils/asymptote/exp.h @@ -675,11 +675,11 @@ public: return args.size(); } - virtual argument operator[] (size_t index) { + virtual argument& operator[] (size_t index) { return args[index]; } - virtual argument getRest() { + virtual argument& getRest() { return rest; } }; @@ -718,8 +718,9 @@ private: // Caches either the application object used to apply the function to the // arguments, or in cases where the arguments match the function perfectly, - // the varEntry of the callee. - void cacheAppOrVarEntry(coenv &e, bool tacit); + // the varEntry of the callee (or neither in case of an error). Returns + // what getType should return. + types::ty *cacheAppOrVarEntry(coenv &e, bool tacit); types::ty *transPerfectMatch(coenv &e); public: |