Skip to content

The printf built-in function does not work as expected #2

Description

@anouard24

I tried printf("Hi\n") in the REPL and the result was Hi\n%!(EXTRA []interface {}=[])CometNop.

So, the issues are:

  • printf does not interpret special characters like \t or \n.
  • if we print something without other arguments, printf print the extra empty []CometObject that was intended to be full of other arguments.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions