Closed ytoml closed 2 years ago
Describe the bug log syntax/04_function.md
log
syntax/04_function.md
Reproducible code
Erg interpreter 0.2.8 (tags/?:, 2022/08/25 23:56:48) on aarch64/macos >>> log "Hello" Hello None >>> log "Hello", "World" Error[#1549]: File <stdin>, line 1, in <module> 1│ log "Hello", "World" ^^^ TypeError: too many arguments for log: total expected params: 1 passed positional args: 2 passed keyword args: 0
Expected behavior Expected that it printsHello World.
Hello World
Fixed in https://github.com/erg-lang/erg/pull/94.
Describe the bug
log
syntax/04_function.md
Reproducible code
Expected behavior Expected that it prints
Hello World
.