Recently i was playing with fortran array, in lfortran online IDE.
i try to run this code.
program arrays_01 implicit none real , dimension (6) :: x integer :: i , j x = [( i *2 , i = 1 , 6)] print * , x end program arrays_01
but i got this error :
LCompilers::LCompilersException: visit_ImpliedDoLoop() not implemented ERROR: The code could not be compiled. Either there is a compile-time error or there is an issue at our end.
Is this is a bug or something wrong with my code.