Skip to content

Commit

Permalink
Issue ambiguity warning only once.
Browse files Browse the repository at this point in the history
  • Loading branch information
timholy committed Apr 29, 2016
1 parent a491c9c commit bc6bc4d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/gf.c
Original file line number Diff line number Diff line change
Expand Up @@ -728,6 +728,7 @@ static void issue_ambig_warn(jl_typemap_entry_t *m)
jl_static_show_func_sig(s, (jl_value_t*)ambigm->sig);
print_func_loc(s, ambigm->func.method);
jl_printf(s, "\nSee the documentation for tips on eliminating ambiguities.\n");
m->ambig = ambigm->ambig = (jl_typemap_entry_t*) jl_nothing;
}

struct ambiguous_matches_env {
Expand Down

0 comments on commit bc6bc4d

Please sign in to comment.