Anonymous | Login | 02-28-2021 16:24 UTC |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | |||||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | |||||||
0006710 | [Squeak] Tools | minor | always | 10-07-07 23:17 | 07-04-08 01:44 | |||||||
Reporter | chris | View Status | public | |||||||||
Assigned To | ||||||||||||
Priority | normal | Resolution | open | |||||||||
Status | new | Product Version | 3.10 | |||||||||
Summary | 0006710: fix for the Method Finder from Ted Kaehler | |||||||||||
Description |
I noticed a bug in the MethodFinder, and I wonder if you could submit my fix to the current Squeak update stream. It occurs in one of the examples in the MethodFinder window, so it is especially embarrassing! In a current Squeak, this expression never returns. Please try it. MethodFinder methodFor: { {1. 3}. true. {20. 10}. false}. If it returns in 5 seconds, all is well, and my fix is not needed. If it actually is an infinite loop. |
|||||||||||
Additional Information | ||||||||||||
Attached Files |
![]() |
|||||||||||
|
![]() |
|||||||||||||||||||
SYSTEM WARNING: Creating default object from empty value
|
![]() |
|
(0011310 - 446 - 507 - 635 - 635 - 635 - 635) nicolas cellier 10-13-07 21:35 |
Ok, for printStringBase: I duplicated this at http://bugs.squeak.org/view.php?id=6724 [^] However, I would prefer an Exception (like self error: 'cannot print in base < 2'). But expect more problems with MethodFinder like: MethodFinder methodFor: {{1. Float nan}. true.}. will loop on (1 take: Float nan). Solution would be to detect such loops... Maybe a time out at higher priority scanning the stack and detecting same pattern twice... |
Mantis 1.0.8[^]
Copyright © 2000 - 2007 Mantis Group
57 total queries executed. 35 unique queries executed. |