-
-
Notifications
You must be signed in to change notification settings - Fork 240
Open
Labels
MCLI2Compiling MCLI2 libraryCompiling MCLI2 library
Description
MRE:
program select_type_char_mre
implicit none
call print_any(" Hello World ")
contains
subroutine print_any(generic)
class(*), intent(in) :: generic
select type (generic)
type is (character(len=*))
print *, trim(generic)
end select
end subroutine print_any
end program select_type_char_mreLFortran Error:
ASR verify pass error: Unexpected args, StringTrim expects (char) as arguments
--> d.f90:12:22
|
12 | print *, trim(generic)
| ^^^^^^^^^^^^^ failed hereMetadata
Metadata
Assignees
Labels
MCLI2Compiling MCLI2 libraryCompiling MCLI2 library