-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Function return struct #86
Conversation
Codecov Report
@@ Coverage Diff @@
## master #86 +/- ##
==========================================
+ Coverage 66.15% 66.38% +0.22%
==========================================
Files 93 97 +4
Lines 13150 13245 +95
Branches 2035 1946 -89
==========================================
+ Hits 8700 8793 +93
- Misses 3480 3485 +5
+ Partials 970 967 -3
Continue to review full report at Codecov.
|
aa330a8
to
36c7426
Compare
std::vector<TypePtr> ParamTypes; | ||
std::vector<TypePtr> ReturnTypes; | ||
std::vector<std::reference_wrapper<const TypePtr>> ParamTypes; | ||
std::vector<std::reference_wrapper<const TypePtr>> ReturnTypes; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
為什麼不用Type*
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
resolve UndefineType會更換到TypePtr的本體所以用reference包起來
Type*是從TypePtr.get()來的,.get()拿不到reference
d1659e9
to
db349e7
Compare
db349e7
to
579b5c3
Compare
fix the bug of function return a Struct.
prepare for function return a Tuple #85.