-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Ambiguity warnings on definition -> error on usage #16125
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
Changes from all commits
39bb06d
827fb97
122b5b4
be8679e
76fa604
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -841,6 +841,7 @@ static void jl_serialize_value_(ios_t *s, jl_value_t *v) | |
write_int32(s, m->line); | ||
jl_serialize_value(s, (jl_value_t*)m->sig); | ||
jl_serialize_value(s, (jl_value_t*)m->tvars); | ||
jl_serialize_value(s, (jl_value_t*)m->ambig); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm also a little uncertain about whether one should add this, or whether there's a scan for ambiguities upon deserialization. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We probably want to keep this, to avoid re-computing ambiguities. |
||
write_int8(s, m->called); | ||
jl_serialize_value(s, (jl_value_t*)m->module); | ||
jl_serialize_value(s, (jl_value_t*)m->roots); | ||
|
@@ -1444,6 +1445,8 @@ static jl_value_t *jl_deserialize_value_(ios_t *s, jl_value_t *vtag, jl_value_t | |
jl_gc_wb(m, m->sig); | ||
m->tvars = (jl_svec_t*)jl_deserialize_value(s, (jl_value_t**)&m->tvars); | ||
jl_gc_wb(m, m->tvars); | ||
m->ambig = jl_deserialize_value(s, (jl_value_t**)&m->ambig); | ||
jl_gc_wb(m, m->ambig); | ||
m->called = read_int8(s); | ||
m->module = (jl_module_t*)jl_deserialize_value(s, (jl_value_t**)&m->module); | ||
jl_gc_wb(m, m->module); | ||
|
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.
run
make docs
and commit the rst