logo       

[jira] Created: (BOO-247) assert still active in release build (debug off): msg#00010

lang.boo.devel

Subject: [jira] Created: (BOO-247) assert still active in release build (debug off)

Message:

A new issue has been created in JIRA.

---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/browse/BOO-247

Here is an overview of the issue:
---------------------------------------------------------------------
Key: BOO-247
Summary: assert still active in release build (debug off)
Type: Bug

Status: Unassigned
Priority: Minor

Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown

Project: Boo
Components:
Class Library
Versions:
0.4

Assignee:
Reporter: Thomas Texier

Created: Fri, 4 Feb 2005 4:59 AM
Updated: Fri, 4 Feb 2005 4:59 AM
Environment: Test under Windows XP Professional SP2

Description:
The assert macro used to be disable in release build (-debug- option of booc)
in version 0.3 when the feature was implemented.

Here's a test case :

import System

try:
assert false
except:
System.Console.WriteLine("exception thrown")

System.Console.WriteLine("done")

Here's the result with 0.3 :

C:\boo-0.3-bin\bin>booc.exe -debug- test.boo -o:test.exe

C:\boo-0.3-bin\bin>test.exe
done

Here's the result with 0.4.5 :

C:\boo-0.4.5-bin\bin>booc.exe -debug- test.boo -o:test.exe

C:\boo-0.4.5-bin\bin>test.exe
exception thrown
done



---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise