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

Potential eengine bug: alias statement is not recognized #25

Open
zakjan opened this issue Nov 19, 2020 · 2 comments
Open

Potential eengine bug: alias statement is not recognized #25

zakjan opened this issue Nov 19, 2020 · 2 comments
Assignees

Comments

@zakjan
Copy link
Contributor

zakjan commented Nov 19, 2020

Example from ISO 10303-11:2004, 13.2 "Alias statement":

ENTITY line;
  start_point,
  end_point : point;
END_ENTITY;

FUNCTION calculate_length (the_line : line) : real;
ALIAS s FOR the_line.start_point;
  ALIAS e FOR the_line.end_point;
    RETURN (SQRT((s.x - e.x)**2 + (s.y - e.y)**2 + (s.z - e.z)**2)) ;
  END_ALIAS;
END_ALIAS;
END_FUNCTION;

Fails with error message:

Error: When attempting to test to see whether slot is bound (SLOT-BOUNDP), the slot EEK::QUALIFIERS is missing from the object EU::THE_LINE.

Originally posted in #11 (comment)

@ronaldtse
Copy link
Contributor

ronaldtse commented Nov 19, 2020

Screenshot:

Screen Shot 2020-11-19 at 3 15 56 PM

@ronaldtse
Copy link
Contributor

Reported at: http://bz.pdes-ch.org/show_bug.cgi?id=8484

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

No branches or pull requests

2 participants