frame_transpiler icon indicating copy to clipboard operation
frame_transpiler copied to clipboard

References to nonexistent classes parses.

Open frame-lang opened this issue 1 year ago • 0 comments

Expected: For Calc not to be found and generate an error.

    fn main {
        print(#Calc.add(1,1))
        print(#Calc.sub(1,1))
    }

    #BadSystem

        -operations- 

        #[static]
        add [a,b] { 
            ^(a+b)
        }
               
        #[static]
        sub [a,b] { 
            ^(a-b)
        }
        
    ##

frame-lang avatar Dec 21 '23 02:12 frame-lang