I'm trying to write some code. Does it mean I can't write it like this? 
    
    
    {.emit: """
    
    class Foo {};
    
    """.}
    
    type Foo {.importcpp: "Foo".} = object
    
    proc hello(_: Foo) = echo "hello"
    
    proc foo(call: proc (_: Foo)) =
      call Foo()
    

error: 'Foo' has not been declared

Reply via email to