bugGNU Prolog for Java - Bugs: bug #30568, findall does not properly report...

 
 

bug #30568: findall does not properly report type_errors

Submitter:  Daniel Thomas <drt24>
Submitted:  Tue 27 Jul 2010 10:20:44 PM UTC
   
 
Category:  Standards Compliance Severity:  3 - Normal
Item Group:  Test failure: inria Status:  Wont Fix
Privacy:  Public Assigned to:  drt24
Open/Closed:  Open Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 27 Jul 2010 10:20:44 PM UTC, original submission:  

The test failures:
In file: findall
possible error in Goal: findall(A0,true,a)
Expected: [type_error(list,a)]
Extra Solutions found: []
Solutions Missing: [type_error(list,a)]

In file: findall
possible error in Goal: findall(A0,true,a / 3)
Expected: [type_error(list,a / 3)]
Extra Solutions found: []
Solutions Missing: [type_error(list,a / 3)]

In file: findall
possible error in Goal: findall(A0,true,foo(a,b))
Expected: [type_error(list,foo(a,b))]
Extra Solutions found: []
Solutions Missing: [type_error(list,foo(a,b))]

Unfortunately fixing this bug is rather hard as the type_error is thrown. Unfortunately it is destroyed by backtracking in the higher level findall (another case of vairable.value = null overwriting something that was visible from elsewhere) see also the bug in arg.

Daniel Thomas <drt24>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by drt24 (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code