Skip to content

Conversation

@maleadt
Copy link
Member

@maleadt maleadt commented Jun 10, 2021

Re #41137 (comment)

@vtjnash I wanted to do #41137 (comment), but the checks from jl_check_open_for fail up during precompilation tests when kwftype ends up calling jl_new_method_table:

ERROR: LoadError: Evaluation into the closed module `Base` breaks incremental compilation because
the side effects will not be permanent. This is likely due to some other module mutating `Base` with
`jl_new_method_table` during precompilation - don't do this.

jl_check_open_for at /home/tim/Julia/src/julia/src/toplevel.c:916
jl_new_method_table at /home/tim/Julia/src/julia/src/datatype.c:49
jl_new_datatype at /home/tim/Julia/src/julia/src/datatype.c:598
jl_new_generic_function_with_supertype at /home/tim/Julia/src/julia/src/gf.c:2540
jl_get_kwsorter at /home/tim/Julia/src/julia/src/gf.c:2578
kwftype at ./boot.jl:377

@maleadt maleadt requested a review from vtjnash June 10, 2021 14:50
@JeffBezanson JeffBezanson merged commit 27ef9e0 into master Jun 14, 2021
@JeffBezanson JeffBezanson deleted the tb/fixup_overlay branch June 14, 2021 19:38
KristofferC pushed a commit that referenced this pull request Jun 17, 2021
* Add support for at-overlay with parametric function definitions.

* Fix error message with at-MethodTable.

* Fix function signature to avoid compiler warning.

(cherry picked from commit 27ef9e0)
@KristofferC KristofferC mentioned this pull request Jun 17, 2021
20 tasks
johanmon pushed a commit to johanmon/julia that referenced this pull request Jul 5, 2021
* Add support for at-overlay with parametric function definitions.

* Fix error message with at-MethodTable.

* Fix function signature to avoid compiler warning.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants