bugDotGNU Portable.NET - Bugs: bug #1244, out variables casting bug

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #1244: out variables casting bug

Submitted by:  Richard Baumann <Rich333>
Submitted on:  Thu 19 Sep 2002 12:19:26 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

Thu 19 Sep 2002 11:54:01 PM UTC, comment #1:

Fix checked into CVS - 20 Sep 2002

Rhys Weatherley <rweather>
Project Administrator
Thu 19 Sep 2002 12:19:26 PM UTC, original submission:

"out" variables supplied to functions must be explicitly cast to their type to be passed on to other functions. There's a strange error that results from this workaround as well: an "invalid value supplied to cast" error is given for the last line of files with such casted out variables. "ref" variables compile fine both with and without the cast.

Richard Baumann <Rich333>
Project Member

 

Attached Files
file #92:  OutTest.cs added by Rich333 (322B - application/octet-stream - An example of the bugs.)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

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):

 

 

Follow 2 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Thu 19 Sep 2002 11:54:01 PM UTCrweatherStatusNone=>(Error - Not Found)
  Open/ClosedOpen=>(Error - Not Found)

Back to the top


Powered by Savane 3.1-cleanup1