[m-rev.] for review: comment out castclass System.Type[]

Peter Ross peter.ross at miscrit.be
Fri Dec 14 21:23:45 AEDT 2001


Peter wrote:
> ===================================================================
>
>
> Estimated hours taken: 8
> Branches: main
>
> System.Reflection.Assembly.GetExportedTypes returns an array of
> System.Type however in Beta 2 of the CLR, when you try and do a
> castclass to System.Type[] it fails.  The fix is not to do the
> castclass.
>
> compiler/ilasm.m:
>     Disable castclasses where the type is System.Type[], by commenting
>     the line out.
>

I have submitted this change, because on further investigation it appears to
be a bug.

--------------------------------------------------------------------------
mercury-reviews mailing list
post:  mercury-reviews at cs.mu.oz.au
administrative address: owner-mercury-reviews at cs.mu.oz.au
unsubscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-reviews-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------



More information about the reviews mailing list