https://github.com/JuliaLang/julia
Revision cecf27a8290f398950502908970f9275e940cf3c authored by Simeon Schaub on 24 August 2021, 18:19:34 UTC, committed by KristofferC on 10 January 2022, 09:34:56 UTC
Just explicitely check for `CodeInfo` objects and use an explicit
`return` in this case inside the `@generated` macro.

Co-authored-by: Jeff Bezanson <jeff.bezanson@gmail.com>
(cherry picked from commit 92c84bf3865403355af463b5a1dee42bf7143592)
1 parent 4280bc4
History
Tip revision: cecf27a8290f398950502908970f9275e940cf3c authored by Simeon Schaub on 24 August 2021, 18:19:34 UTC
fix #25678: return matters for generated functions (#40778)
Tip revision: cecf27a
File Mode Size
.buildkite
.devcontainer
.github
base
cli
contrib
deps
doc
etc
src
stdlib
test
.clang-format -rw-r--r-- 3.3 KB
.codecov.yml -rw-r--r-- 52 bytes
.gitattributes -rw-r--r-- 65 bytes
.gitignore -rw-r--r-- 425 bytes
.mailmap -rw-r--r-- 11.0 KB
CITATION.bib -rw-r--r-- 513 bytes
CONTRIBUTING.md -rw-r--r-- 19.3 KB
HISTORY.md -rw-r--r-- 313.4 KB
LICENSE.md -rw-r--r-- 1.3 KB
Make.inc -rw-r--r-- 49.2 KB
Makefile -rw-r--r-- 25.8 KB
NEWS.md -rw-r--r-- 20.5 KB
README.md -rw-r--r-- 7.5 KB
THIRDPARTY.md -rw-r--r-- 3.7 KB
VERSION -rw-r--r-- 10 bytes
sysimage.mk -rw-r--r-- 4.0 KB

README.md

back to top