Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix/command array arguent type error #13

Merged
merged 3 commits into from
Oct 13, 2023

Conversation

r-koubou
Copy link
Owner

Bug fixes

いくつかのコマンドの引数でビルトイン変数や定数を指定した場合に型の不一致というエラーを検出する。
command.txt 内の型の記述で、非配列の型と同様に @I[] というように @ を記述した場合に定数も受け付けるように対応した。

Detected an error of type mismatch when a built-in variable or constant is specified as an argument of some commands.
In the type description in command.txt, constants are now accepted when @ is specified as @I[] as well as non-array types.

on init
    declare $num
    $num := num_elements( !NI_DND_ITEMS_ARRAY ) { error: num_elements : Argument(s) incompatible type }
end on

Java version upgrade

1.6 to 1.8.

1.6はもう古すぎることや、環境を構築できないためバージョンを引き上げた。

The version 1.6 was raised because it was already too old and the environment could not be built.

@r-koubou r-koubou added the bug Something isn't working label Oct 13, 2023
@r-koubou r-koubou self-assigned this Oct 13, 2023
@r-koubou r-koubou merged commit b204ddb into develop Oct 13, 2023
@r-koubou r-koubou deleted the fix/command_array_argiuent_type_error branch October 13, 2023 16:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant