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

add idiom 303 Array with non-default lower bound #155

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

simonvonhackewitz
Copy link
Contributor

No description provided.

Copy link
Contributor

@maxteufel maxteufel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please re-read the idiom statement:

Declare an array a of integers with six elements, where the first index is 42 and consecutive elements have the indices 43, 44, 45, 46, 47.

@michaellilltokiwa
Copy link
Member

I think there is currently no really nice way to do this in fuzion. You can create an issue for this in the fuzion repo.

@simonvonhackewitz
Copy link
Contributor Author

Personally I think this is not necessary, because this is probably only used in rare cases and if so it should be easy to add a helper feature that subtracts/adds the difference.

Aside from that I think the idiom description can be easily mistaken, I think for the Java implementation the same mistake was made.

But if you think it is important I will add the issue otherwise I think this pull request can be closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants