NEWTON

NEWTON


Popular tags

    Cairo Error: Unexpected token Token('LPAR', '('). Expected: identifier.

    Asked

    6 months ago

    10

    views


    0

    I am getting the error above when I use the following line:

    let local (prev : felt) = fibonacci(n-1)

    This question was originally posted on Triality

      cairocairo-lang

    1 answers

    0

    This is a simple syntax error, your code should look like

    let (local prev : felt) = fibonacci(n-1)

    If you are trying to combine the let and local in one line.

    

    This answer was originally posted on Triality

    answered

    6 months ago

    Your answer

    NEWTON

    NEWTON