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

Semantic analysis check for USEION variables in CONSTANT block #908

Merged
merged 3 commits into from
Sep 9, 2022

Conversation

pramodk
Copy link
Contributor

@pramodk pramodk commented Aug 17, 2022

@pramodk pramodk requested a review from alkino August 17, 2022 22:37
@bbpbuildbot
Copy link
Collaborator

Logfiles from GitLab pipeline #69939 (:white_check_mark:) have been uploaded here!

Status and direct links:

Copy link
Contributor

@ohm314 ohm314 left a comment

Choose a reason for hiding this comment

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

really minor nitpicking otherwise looks good

src/visitors/semantic_analysis_visitor.cpp Outdated Show resolved Hide resolved
@bbpbuildbot
Copy link
Collaborator

Logfiles from GitLab pipeline #69996 (:white_check_mark:) have been uploaded here!

Status and direct links:

Copy link
Contributor

@iomaganaris iomaganaris left a comment

Choose a reason for hiding this comment

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

LGTM
Just a minor nitpick

test/unit/visitor/semantic_analysis.cpp Outdated Show resolved Hide resolved
* Similar to neuronsimulator/nrn#1955
* Add semantic analysis check to avoid declaring ion variables
  in CONSTANT {} block
* Addresses first point in #888
  MOD file is glia__dbbs_mod_collection__cdp5__CAM_GoC.mod.
* Updated test
@pramodk pramodk force-pushed the pramodk/ion-var-as-constant branch 2 times, most recently from 2d6ba1a to 5a546de Compare September 9, 2022 07:53
@pramodk pramodk force-pushed the pramodk/ion-var-as-constant branch from 5a546de to fee9a3b Compare September 9, 2022 08:04
@bbpbuildbot
Copy link
Collaborator

Logfiles from GitLab pipeline #73670 (:white_check_mark:) have been uploaded here!

Status and direct links:

@bbpbuildbot
Copy link
Collaborator

Logfiles from GitLab pipeline #73669 (:white_check_mark:) have been uploaded here!

Status and direct links:

@bbpbuildbot
Copy link
Collaborator

Logfiles from GitLab pipeline #73702 (:white_check_mark:) have been uploaded here!

Status and direct links:

@pramodk pramodk merged commit af7c772 into master Sep 9, 2022
@pramodk pramodk deleted the pramodk/ion-var-as-constant branch September 9, 2022 11:32
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.

5 participants