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

stack overflow in filtered quantified expression #117

Closed
reteprelief opened this Issue Apr 4, 2018 · 4 comments

Comments

Projects
None yet
2 participants
@reteprelief
Contributor

reteprelief commented Apr 4, 2018

filterbug () <=
** "stack overflow" **
	forall  (pc : {pc for (conn:connection)| is_port_connection(conn)}).
	true

The expression should say
forall (pc : {conn for (conn:connection)| is_port_connection(conn)}).

@kfhoech kfhoech self-assigned this Apr 4, 2018

@kfhoech

This comment has been minimized.

Contributor

kfhoech commented Apr 4, 2018

Thanks for reporting this.

Yes, it appears that the quoted expression is incorrect. However, I cannot locate that construct in the smaccm/smaccm repository.

Can you give indication as to where this is located? Thanks.

@reteprelief

This comment has been minimized.

Contributor

reteprelief commented Apr 4, 2018

The Resolute validator will loop through three methods. This is in the develop branch.

at com.rockwellcollins.atc.resolute.validation.ResoluteJavaValidator.getIdExprType(ResoluteJavaValidator.java:1107)
at com.rockwellcollins.atc.resolute.validation.ResoluteJavaValidator.getExprType(ResoluteJavaValidator.java:999)
at com.rockwellcollins.atc.resolute.validation.ResoluteJavaValidator.getExprType(ResoluteJavaValidator.java:911)
at com.rockwellcollins.atc.resolute.validation.ResoluteJavaValidator.getIdExprType(ResoluteJavaValidator.java:1107)
at com.rockwellcollins.atc.resolute.validation.ResoluteJavaValidator.getExprType(ResoluteJavaValidator.java:999)
at com.rockwellcollins.atc.resolute.validation.ResoluteJavaValidator.getExprType(ResoluteJavaValidator.java:911)
@kfhoech

This comment has been minimized.

Contributor

kfhoech commented Apr 4, 2018

Oh. This is a validator problem. I thought you were referring to a problem in a library or model.

Duplicated in a91f995.

@kfhoech

This comment has been minimized.

Contributor

kfhoech commented Apr 6, 2018

Resolved by Pull Request 118.

@kfhoech kfhoech closed this Apr 6, 2018

@kfhoech kfhoech added the v2.3.3 label Jul 11, 2018

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