-
Notifications
You must be signed in to change notification settings - Fork 81
Open
Description
I simply clone this repo, compile & run it locally on localhost:8080.
When sending the same request as on your documentation page:
curl -X POST \
http://localhost:8080/api/compiler/run \
-H 'Content-Type: application/json' \
-d '{
"args": "1 2 3",
"files": [
{
"name": "File.kt",
"text": "fun main(args: Array<String>) {\n println(\"123\")\n}"
}
]
}'
The result does not contain the STDOUT which should be printed on the console. It just returns this:
{"errors":{"File.kt":[{"interval":{"start":{"line":0,"ch":9},"end":{"line":0,"ch":13}},"message":"Parameter 'args' is never used","severity":"WARNING","className":"WARNING"}]},"exception":null,"text":""}
The log of the Spring application does not show any errors.
Can somebody help?
Metadata
Metadata
Assignees
Labels
No labels