apple / apple/pkl

Modulo operator with `0` produces crash

Open
#1,660 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
11.5k
Forks
402
Avg merge
1d 15h
Merged PRs (30d)
20

Description

Example:

```pkl
res = 5 % 0
```

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the Pkl example `res = 5 % 0` and trace where the crash is reported. No source file or test is identified in the issue; determine the intended modulo-by-zero behavior with the project before adding a regression test and verifying the resulting diagnostic.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
compilers
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.