Hi everyone, welcome to the second blog of my GSoC'25 journey. In this week, I continued my work on test open maps of package hashmaps. The first thing which I did was to fix Issues #7371. One can find the the Merged Pull Request for fixing this issue here. This acted as a milestone as merging this PR led to significant progress in compilation.
Then onwards, I continued the code compilation process of creating MREs. After creating few MREs and suitable workarounds for them, I was only left with a few code generation errors. These were mostly related to polymorphic variables and thier usage in subroutine.
Following is the list of MREs created this week :-
Following is the list of Merged Pull Requests for this week :-
The workarounds created in this week can be tracked through the latest hashmaps branch that is n-lf-hashmaps-3.
For the remaining code generation errors, it was impossible to work them around and so, I decided to fix these errors one by one. I started with Issue #7441 and succeeded in fixing one of its MRE. Merged Pull Request for the same can be found here
Meanwhile, I found a way to create a MRE for the Deserialization Error for which, earlier, I had commented out the code lines. Link to MRE is Issue 7478. Next, I created workarounds for all the deserialization errors that I was getting. The link to workarounds regarding deserialization error is here.
Although, I planned to compile test open map by the end of week but still the test open maps has not been compiled fully. This was because of current refactoring going in LFortran to remove Class and ClassType that led to a series of new erros which delayed my progress as I had to handle them first.
For my next week, I am planning to complete the compilation of test open maps of package hashmaps. As of now, I am only getting some code generation errors. I might get some more errors as the compilation process goes on but I feel that there a high chances of me completing compilation of test open maps by the end of next week. Also, if time time permits, then I will start the compilation of other 2 test files of package hashmaps. I guess, the errors that I will be getting in new test files will be almost similar to the errors encountered in test open maps. Thus, I just need to refer my workarounds for test opens maps and use them in a similar fashion for other test files. Thus, once the test open maps gets compiled, then the remaining stuffs in package hashmaps will not be that difficult to handle and won't take much time.
Overall, I worked for 24 hours this week and enjoyed the work that I did in the second week and would like to thank Ondrej Certik, Harshita Kalani, Pranav Goswami and all the other LFortran members for their reviews and suggestions which helped me a lot to tackle new difficulties. I am looking forward to continue my journey in the next week with the same excitement and enthusiasm and plan to complete my proposed tasks as quickly as I can.