Conversation
|
is the ci check disabled because of the conflicting files? |
Yup!
$ git checkout main
$ git pull lpython main # where `lpython` is the remote name of the lpython main repository
$ git checkout add_isspace_api
$ git merge main
# resolve conflicts if any
$ git reset main
# Now, all the changes you made will be ready to be staged
$ git add . # `.` represents the file you want to commit
$ git commit -m ".. message" # Commit all the files
$ git push -f origin add_isspace_api # where `origin` is the remote name for your lpython forked repositoryFor more details on merging and rebasing, go through the page: https://github.com/lcompilers/lpython/blob/main/doc/src/rebasing.md |
5e75fa1 to
f40f524
Compare
|
Thanks, @Thirumalai-Shaktivel, what should I do for the below error? Do reference tests get generated on the fly, do I need to delete all reference tests and then run |
|
Don't do it all the time, but for this PR you can do |
|
I'm sorry, I forgot to add the following command above: $ git clean -dfx
$ ./build.sh
$ ./run_tests.py # Use `-u` to update tests. |
| @@ -0,0 +1,17 @@ | |||
| warning: The module 'numpy' located in $DIR/src/bin/../runtime/lpython_intrinsic_numpy.py cannot be loaded | |||
| --> tests/../integration_tests/array_01_decl.py:2:1 | |||
There was a problem hiding this comment.
All the newly created *.stderr files needs to be removed.
For that,
you can do
rm tests/reference/*and then do./run_tests.py -u
Thirumalai-Shaktivel
left a comment
There was a problem hiding this comment.
Looks great, thank you!
|
@Agent-Hellboy The CI seems to fail currently. |
yes, is one of the backend treating |
It is the You can construct a simple/minimum example using the |
The \v escape sequence is part of the standard C escape sequences |
|
I have used |
Co-authored-by: Shaikh Ubaid <[email protected]>
certik
left a comment
There was a problem hiding this comment.
I think that this is good, I left some comments.
Co-authored-by: Ondřej Čertík <[email protected]>
Co-authored-by: Ondřej Čertík <[email protected]>
Co-authored-by: Ondřej Čertík <[email protected]>
src/runtime/lpython_builtin.py
Outdated
| return False | ||
| return True | ||
|
|
||
| @overload |
There was a problem hiding this comment.
Does this work:
| @overload |
There was a problem hiding this comment.
I don't know what overload does. from the code, it seems it adds attributes to it.
There was a problem hiding this comment.
The @overload allows you to use the same function name with different arguments like int and float. In this case there is only one function, so overload is not needed.
There was a problem hiding this comment.
Yup, we have to remove @overload for many functions. I got confused with the actual meaning of overload, as it was used everywhere.
Co-authored-by: Ondřej Čertík <[email protected]>
Co-authored-by: Ondřej Čertík <[email protected]>
|
@Agent-Hellboy why don't you fix the comment per my post above and then we can merge it. |
sure |
ubaidsk
left a comment
There was a problem hiding this comment.
Amazing work @Agent-Hellboy! Thank you so much for this!
fixes #2375