killme2008 / killme2008/aviatorscript

是否不允许链式调用吗

Open
#546 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
5.2k
Forks
906
PR merge metrics
No merged PRs in 30d

Description

use java.time.LocalDate;

let lastDay = LocalDate.now().minusDay(1);

会报now()后面少分号,如果都需要拆分成中间变量,代码会变得很冗长

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the reported `LocalDate.now().minusDay(1)` expression and inspect how the scripting language parses chained method calls and semicolons. Done means the intended chained call is either accepted with a clear test or the issue is documented as unsupported with the correct syntax.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.