[m-dev.] "Did you mean ..." messages for module qualifiers
Zoltan Somogyi
zoltan.somogyi at runbox.com
Mon Jan 13 23:10:59 AEDT 2025
On Mon, 13 Jan 2025 23:06:34 +1100, Julien Fischer <jfischer at opturion.com> wrote:
> To be clear; the ranges module was imported in my original example.
But for some strange reason, the import was not mentioned on
the NSF webcast of the New Glenn launch, which was what I was mainly
concentrating on at the time :-(
> > > > Whether that would be big enough for dym messages to be useful depends on
> > > > the kinds of misspellings people tend to write, and that is quite individual-dependent.
> > >
> > > I think we would probably limit it to candidates that are within one
> > > or two edits of the
> > > unknown name.
> >
> > We do not do so for other kinds of dym messages. The heuristic for "how big
> > a difference is too big" is something we took from (I think) gcc, and it is
> > dependent on name length, I think about one third replacement being the limit.
>
> Whether that same heuristic is applicable to all the kinds of entity,
> you may want
> to generate dym messages for is an open question. I suggest we just start by
> using the existing heuristic and adjust if necessary.
Agreed.
Zoltan.
More information about the developers
mailing list