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

 
 

bug #30568: findall does not properly report type_errors

Submitted by:  Daniel Thomas <drt24>
Submitted on:  Tue 27 Jul 2010 10:20:44 PM UTC  
 
Category: Standards ComplianceSeverity: 3 - Normal
Item Group: Test failure: inriaStatus: Wont Fix
Privacy: PublicAssigned to: Daniel Thomas <drt24>
Open/Closed: OpenPlanned Release: None

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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>
Project AdministratorIn charge of this item.

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    No Changes Have Been Made to This Item

    Back to the top


    Powered by Savane 3.1-cleanup