Revision 743de035fa7e5b0a7262ec8cd59862d131c9f0cf authored by Cody Tapscott on 14 March 2024, 11:01:22 UTC, committed by Keno Fischer on 20 March 2024, 00:28:51 UTC
Here's an example output from macroexpand: ``` Expr head: Symbol thunk args: Array{Any}((1,)) 1: Core.CodeInfo code: Array{Any}((2,)) 1: Expr head: Symbol toplevel args: Array{Any}((17,)) 1: Expr head: Symbol hygienic-scope args: Array{Any}((3,)) 1: LineNumberNode 2: Module Base.Enums 3: LineNumberNode 2: Expr head: Symbol hygienic-scope args: Array{Any}((3,)) 1: Expr 2: Module Base.Enums 3: LineNumberNode 3: Expr head: Symbol hygienic-scope args: Array{Any}((3,)) 1: LineNumberNode 2: Module Base.Enums 3: LineNumberNode 4: Expr head: Symbol hygienic-scope args: Array{Any}((3,)) 1: Expr 2: Module Base.Enums 3: LineNumberNode ... ``` Currently fails during bootstrap with: ``` LoadError("sysimg.jl", 3, LoadError("Base.jl", 542, ErrorException("cannot document the following expression:\n\n#= mpfr.jl:65 =# @enum MPFRRoundingMode begin\n #= mpfr.jl:66 =#\n MPFRRoundNearest\n #= mpfr.jl:67 =#\n MPFRRoundToZero\n #= mpfr.jl:68 =#\n MPFRRoundUp\n #= mpfr.jl:69 =#\n MPFRRoundDown\n #= mpfr.jl:70 =#\n MPFRRoundFromZero\n #= mpfr.jl:71 =#\n MPFRRoundFaithful\n end\n\n'@enum' not documentable. See 'Base.@__doc__' docs for details.\n"))) ``` Perhaps we can do better than wrapping each `Expr(:toplevel, ...)` arg individually, or I should be filtering out the LineNumberNodes? --------- Co-authored-by: Keno Fischer <keno@juliacomputing.com> Co-authored-by: Keno Fischer <keno@juliahub.com>
1 parent 2f4f14e
File | Mode | Size |
---|---|---|
asan | ||
bpftrace | ||
mac | ||
pgo-lto | ||
tsan | ||
windows | ||
README.md | -rw-r--r-- | 2.9 KB |
add_license_to_files.jl | -rw-r--r-- | 7.0 KB |
check-whitespace.jl | -rwxr-xr-x | 1.8 KB |
commit-name.sh | -rwxr-xr-x | 1.2 KB |
debug_bootstrap.gdb | -rw-r--r-- | 76 bytes |
delete-all-rpaths.sh | -rwxr-xr-x | 925 bytes |
download_cmake.sh | -rwxr-xr-x | 2.1 KB |
excise_stdlib.sh | -rwxr-xr-x | 967 bytes |
fixup-libgfortran.sh | -rwxr-xr-x | 6.0 KB |
fixup-libstdc++.sh | -rwxr-xr-x | 1.1 KB |
fixup-rpath.sh | -rwxr-xr-x | 1.0 KB |
generate_precompile.jl | -rw-r--r-- | 14.1 KB |
httpbin-prod-swagger-apigateway.yaml | -rw-r--r-- | 3.0 KB |
install.sh | -rwxr-xr-x | 695 bytes |
julia-config.jl | -rwxr-xr-x | 3.6 KB |
julia.appdata.xml | -rw-r--r-- | 1.4 KB |
julia.desktop | -rw-r--r-- | 367 bytes |
julia.png | -rw-r--r-- | 1.6 KB |
julia.svg | -rw-r--r-- | 1.1 KB |
new-stdlib.sh | -rwxr-xr-x | 1.8 KB |
normalize_triplet.py | -rwxr-xr-x | 4.4 KB |
prepare_release.sh | -rwxr-xr-x | 4.8 KB |
print_sorted_stdlibs.jl | -rw-r--r-- | 3.1 KB |
refresh_checksums.mk | -rw-r--r-- | 6.7 KB |
relative_path.py | -rwxr-xr-x | 537 bytes |
stringreplace.c | -rw-r--r-- | 942 bytes |
updateSPDX.jl | -rw-r--r-- | 1.1 KB |
valgrind-julia.supp | -rw-r--r-- | 156 bytes |
write_base_cache.jl | -rw-r--r-- | 376 bytes |
Computing file changes ...