-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
add module /name a<space><space>b /code test
add module /name <space><space>a b /code test
add module /name a b<space><space> /code test
all result in
Exception in thread "main" java.lang.StringIndexOutOfBoundsException: String index out of range: 0 at java.base/java.lang.StringLatin1.charAt(StringLatin1.java:47) at java.base/java.lang.String.charAt(String.java:702) at duchess.parser.Util.parameterize(Util.java:154) at duchess.parser.states.DefaultState.parse(DefaultState.java:45) at duchess.parser.Parser.parse(Parser.java:100) at Duke.run(Duke.java:48) at Duke.main(Duke.java:66)
Reactions are currently unavailable