Kotlin / Kotlin/kotlin-script-examples

No Simple Example Exists

Open
#21 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Kotlin
Stars
339
Forks
48
PR merge metrics
No merged PRs in 30d

Description

All these examples are too complicated, brittle, and fragile. Can someone please give the most simple working example possible with only two files

1. main.kt
2. script.kts

When I try to run the simple example I get

: wrong number of arguments: 0 expected: 1: java.lang.IllegalArgumentException: wrong number of arguments: 0 expected: 1

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing the existing examples and the two requested entry files, main.kt and script.kts. Reproduce the reported wrong-number-of-arguments error with the simplest available setup, then document a working two-file example whose execution no longer produces that error.

Written by the indexing model from the issue text.

Assessment

Tech stack
kotlin
Domain
documentation, tooling
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.