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

Invalid SELECT TYPE selector in allocate_with_source_22.f03 #6

Closed
nncarlson opened this issue Jan 28, 2018 · 2 comments
Closed

Invalid SELECT TYPE selector in allocate_with_source_22.f03 #6

nncarlson opened this issue Jan 28, 2018 · 2 comments
Assignees

Comments

@nncarlson
Copy link
Owner

In the statement

30:  select type (b(1))

The selector b(1) is not a named variable, and so requires an associate-name according to constraint C835 (F08); i.e.,

  select type (b1 => b(1))
$ nagfor -kind=byte allocate_with_source_22.f03
NAG Fortran Compiler Release 6.1(Tozai) Build 6144
Error: allocate_with_source_22.f03, line 30: Syntax error
       detected at B@(
@janusw
Copy link
Collaborator

janusw commented Feb 14, 2018

@janusw janusw self-assigned this Feb 14, 2018
@janusw
Copy link
Collaborator

janusw commented Feb 14, 2018

Fixed with 6e701c3. Closing.

@janusw janusw closed this as completed Feb 14, 2018
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