ez-lang icon indicating copy to clipboard operation
ez-lang copied to clipboard

Missing check on function call args

Open dibyendumajumdar opened this issue 1 year ago • 0 comments

Following code should fail to compile

                func bar(arg: Int)->Int {
                    if (arg)
                        return 42;
                    return 0;    
                }
                func foo()->Int {
                    return bar();
                }

dibyendumajumdar avatar Dec 15 '24 16:12 dibyendumajumdar