Thread overview
[Issue 10241] Probably wrong "did you mean" suggestion in error message
Nov 17, 2013
yebblies
Nov 17, 2013
yebblies
Nov 17, 2013
yebblies
Nov 17, 2013
Iain Buclaw
Nov 17, 2013
yebblies
Nov 17, 2013
Iain Buclaw
Nov 17, 2013
Iain Buclaw
November 17, 2013
https://d.puremagic.com/issues/show_bug.cgi?id=10241


yebblies <yebblies@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |yebblies@gmail.com


--- Comment #1 from yebblies <yebblies@gmail.com> 2013-11-17 16:09:43 EST ---
Issue 9644?

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
November 17, 2013
https://d.puremagic.com/issues/show_bug.cgi?id=10241



--- Comment #2 from bearophile_hugs@eml.cc 2013-11-17 03:51:36 PST ---
(In reply to comment #1)
> Issue 9644?

Probably it's another issue because "core" is not present in this program.

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
November 17, 2013
https://d.puremagic.com/issues/show_bug.cgi?id=10241



--- Comment #3 from yebblies <yebblies@gmail.com> 2013-11-17 23:03:49 EST ---
(In reply to comment #2)
> (In reply to comment #1)
> > Issue 9644?
> 
> Probably it's another issue because "core" is not present in this program.

core is imported inside std.stdio, and is therefore visible.

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
November 17, 2013
https://d.puremagic.com/issues/show_bug.cgi?id=10241


bearophile_hugs@eml.cc changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |DUPLICATE


--- Comment #4 from bearophile_hugs@eml.cc 2013-11-17 05:40:41 PST ---
*** This issue has been marked as a duplicate of issue 9644 ***

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
November 17, 2013
https://d.puremagic.com/issues/show_bug.cgi?id=10241


bearophile_hugs@eml.cc changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|DUPLICATE                   |


--- Comment #5 from bearophile_hugs@eml.cc 2013-11-17 06:21:47 PST ---
Reopened as fixing Issue 9644 has not fixed this.

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
November 17, 2013
https://d.puremagic.com/issues/show_bug.cgi?id=10241



--- Comment #6 from yebblies <yebblies@gmail.com> 2013-11-18 01:24:59 EST ---
(In reply to comment #5)
> Reopened as fixing Issue 9644 has not fixed this.

Again, do you expect to see here?

'core' is two letters away from 'pre'.  Are you expecting no match?  'core' to be excluded?  What?

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
November 17, 2013
https://d.puremagic.com/issues/show_bug.cgi?id=10241


Iain Buclaw <ibuclaw@ubuntu.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ibuclaw@ubuntu.com


--- Comment #7 from Iain Buclaw <ibuclaw@ubuntu.com> 2013-11-17 06:46:54 PST ---
(In reply to comment #6)
> (In reply to comment #5)
> > Reopened as fixing Issue 9644 has not fixed this.
> 
> Again, do you expect to see here?
> 
> 'core' is two letters away from 'pre'.  Are you expecting no match?  'core' to be excluded?  What?

I'd assume to be excluded, as the difference between 'pre' and 'import core' is quite a big one which we can safely ignore.

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
November 17, 2013
https://d.puremagic.com/issues/show_bug.cgi?id=10241



--- Comment #8 from yebblies <yebblies@gmail.com> 2013-11-18 01:54:21 EST ---
It's two letters from 'pre' to 'core'...

Currently the rule is maxdiff = min(len-1, 2)

What rule would you propose?

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
November 17, 2013
https://d.puremagic.com/issues/show_bug.cgi?id=10241



--- Comment #9 from Iain Buclaw <ibuclaw@ubuntu.com> 2013-11-17 06:59:52 PST ---
(In reply to comment #8)
> It's two letters from 'pre' to 'core'...
> 

Now that you mention it, I can see it.


> Currently the rule is maxdiff = min(len-1, 2)
> 
> What rule would you propose?

Something like the bug I'm going to link this against... which isn't simple to do in the current scheme of things.

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
November 17, 2013
https://d.puremagic.com/issues/show_bug.cgi?id=10241


Iain Buclaw <ibuclaw@ubuntu.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|                            |DUPLICATE


--- Comment #10 from Iain Buclaw <ibuclaw@ubuntu.com> 2013-11-17 07:00:19 PST ---
*** This issue has been marked as a duplicate of issue 5621 ***

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------