History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: BOO-196
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Rodrigo B. de Oliveira
Reporter: Bill Wood
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Boo

Can't use value type in another class or struct

Created: 25/Nov/04 03:30 PM   Updated: 08/Dec/04 04:57 PM
Component/s: None
Affects Version/s: 0.5
Fix Version/s: 0.5

Time Tracking:
Not Specified


 Description  « Hide
import System

class Point(ValueType):
public X as int
public Y as int
class Point3D:
public xy as Point
public Z as int

p = Point3D()
print p.xy.X

System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.TypeLoadException: Could not load type Point from assembly untitled, Version=0.0.0.0.
at UntitledModule.Main(String[] argv)
— End of inner exception stack trace —
at System.Reflection.RuntimeMethodInfo.InternalInvoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean isBinderDefault, Assembly caller, Boolean verifyAccess)
at System.Reflection.RuntimeMethodInfo.InternalInvoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean verifyAccess)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at BooExplorer.BooEditor.Run() in I:\Boo\booTrunk\extras\boox\booxw\src\BooEditor.boo:line 221



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
There are no comments yet on this issue.