Click here to Skip to main content
15,922,427 members
Home / Discussions / Web Development
   

Web Development

 
GeneralRe: Mac Browser Oddities? Pin
Roger Wright15-May-02 16:22
professionalRoger Wright15-May-02 16:22 
GeneralRe: Mac Browser Oddities? Pin
Philip Patrick18-May-02 0:17
professionalPhilip Patrick18-May-02 0:17 
GeneralRe: Mac Browser Oddities? Pin
Roger Wright18-May-02 5:22
professionalRoger Wright18-May-02 5:22 
GeneralRe: Mac Browser Oddities? Pin
Philip Patrick18-May-02 5:37
professionalPhilip Patrick18-May-02 5:37 
GeneralRe: Mac Browser Oddities? Pin
Roger Wright18-May-02 5:50
professionalRoger Wright18-May-02 5:50 
GeneralRe: Mac Browser Oddities? Pin
Philip Patrick18-May-02 6:10
professionalPhilip Patrick18-May-02 6:10 
GeneralRe: Mac Browser Oddities? Pin
Roger Wright18-May-02 6:41
professionalRoger Wright18-May-02 6:41 
GeneralJScript.Net compiler bug Pin
Ben Burnett15-May-02 9:38
Ben Burnett15-May-02 9:38 
So I think I’ve discovered a bug in the JScript.Net compiler. It has to do with the VBArray object and it’s use in derived class' constructor; specifically when initializing the base class. I’ve taken a brief look into the compilers’ source code, but the problem isn’t just popping out at me, so further exploration into this will be necessary.

The following code demonstrates the bug.

class BaseClass {
    
    private var a_ : Array;
    
    public function BaseClass ( a : Array ) {
    
        this.a_ = a;
    
    }   

}

    
class DerivedClass extends BaseClass {    
    
    public function DerivedClass ( a : VBArray ) {
    
        super ( a.toArray () ); // compiler chokes here
    
    }
    
}


Here's a dump of the error, if anyone's interested. It looks like it got a problem with creating a local variable (why?), but that's just a guess at this point.

***INTERNAL COMPILER ERROR***
Microsoft.Vsa.VsaException: InternalCompilerError (0x80133021): System.ArgumentNullException: Value cannot be null. 
Parameter name: local
   at System.Reflection.Emit.ILGenerator.Emit(OpCode opcode, LocalBuilder local)
   at Microsoft.JScript.Member.TranslateToLateBinding(ILGenerator il, Boolean speculativeEarlyBindingsExist)
   at Microsoft.JScript.Binding.TranslateToIL(ILGenerator il, Type rtype, Boolean preSet, Boolean preSetPlusGet, Boolean calledFromDelete)
   at Microsoft.JScript.Binding.TranslateToIL(ILGenerator il, Type rtype)
   at Microsoft.JScript.Member.TranslateToILWithDupOfThisOb(ILGenerator il)
   at Microsoft.JScript.Binding.TranslateToILCall(ILGenerator il, Type rtype, ASTList argList, Boolean construct, Boolean brackets)
   at Microsoft.JScript.Call.TranslateToIL(ILGenerator il, Type rtype)
   at Microsoft.JScript.Class.EmitInitialCalls(ILGenerator il, MethodBase supcons, ParameterInfo[] pars, ASTList argAST, Int32 callerParameterCount)
   at Microsoft.JScript.FunctionObject.TranslateToIL(CompilerGlobals compilerGlobals)
   at Microsoft.JScript.FunctionDeclaration.TranslateToILInitializer(ILGenerator il)
   at Microsoft.JScript.Block.TranslateToILInstanceInitializers(ILGenerator il)
   at Microsoft.JScript.Class.TranslateToCOMPlusClass()
   at Microsoft.JScript.Class.TranslateToIL(ILGenerator il, Type rtype)
   at Microsoft.JScript.Block.TranslateToIL(ILGenerator il, Type rtype)
   at Microsoft.JScript.ScriptBlock.TranslateToIL(ILGenerator il, Type rtype)
   at Microsoft.JScript.ScriptBlock.TranslateToILClass(CompilerGlobals compilerGlobals)
   at Microsoft.JScript.VsaStaticCode.TranslateToIL()
   at Microsoft.JScript.Vsa.VsaEngine.DoCompile()
   at Microsoft.Vsa.BaseVsaEngine.Compile()
WTF | :WTF:

cheers,
-Ben
GeneralRe: JScript.Net compiler bug Pin
di~v~inci18-Jan-10 3:31
di~v~inci18-Jan-10 3:31 
GeneralRe: JScript.Net compiler bug Pin
Ben Burnett18-Jan-10 7:52
Ben Burnett18-Jan-10 7:52 
GeneralImage Viewer problem... Pin
code dope15-May-02 4:06
code dope15-May-02 4:06 
GeneralRe: Image Viewer problem... Pin
Not Active15-May-02 6:08
mentorNot Active15-May-02 6:08 
GeneralRe: Image Viewer problem... Pin
code dope15-May-02 8:29
code dope15-May-02 8:29 
GeneralRe: Image Viewer problem... Pin
Not Active15-May-02 13:38
mentorNot Active15-May-02 13:38 
GeneralRe: Image Viewer problem... Pin
code dope15-May-02 23:37
code dope15-May-02 23:37 
Generalasp.net configuration problems.... Pin
devil_66614-May-02 21:32
devil_66614-May-02 21:32 
GeneralRe: asp.net configuration problems.... Pin
Birdy14-May-02 21:34
Birdy14-May-02 21:34 
GeneralRe: asp.net configuration problems.... Pin
Mike.NET17-May-02 8:37
Mike.NET17-May-02 8:37 
GeneralDataGrid EditItemTemplate Pin
Not Active14-May-02 17:28
mentorNot Active14-May-02 17:28 
GeneralRe: DataGrid EditItemTemplate Pin
Not Active15-May-02 13:42
mentorNot Active15-May-02 13:42 
QuestionCan I do this?? Pin
HoldMe14-May-02 16:11
HoldMe14-May-02 16:11 
AnswerRe: Can I do this?? Pin
Not Active14-May-02 16:19
mentorNot Active14-May-02 16:19 
GeneralAn HTML Curiosity Pin
Roger Wright14-May-02 9:44
professionalRoger Wright14-May-02 9:44 
GeneralRe: An HTML Curiosity Pin
Not Active14-May-02 9:56
mentorNot Active14-May-02 9:56 
GeneralRe: An HTML Curiosity Pin
Roger Wright14-May-02 11:14
professionalRoger Wright14-May-02 11:14 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.