René's URL Explorer Experiment


Title: Add support for class members by xaerru · Pull Request #2821 · lcompilers/lpython · GitHub

Open Graph Title: Add support for class members by xaerru · Pull Request #2821 · lcompilers/lpython

X Title: Add support for class members by xaerru · Pull Request #2821 · lcompilers/lpython

Description: Fix #2723 Add support for class members by identifying them by the new intent ClassMember and creating a global variable for each class member. All the tests are not passing yet, but I need a review to know if I'm going in the right direction.

Open Graph Description: Fix #2723 Add support for class members by identifying them by the new intent ClassMember and creating a global variable for each class member. All the tests are not passing yet, but I need a revie...

X Description: Fix #2723 Add support for class members by identifying them by the new intent ClassMember and creating a global variable for each class member. All the tests are not passing yet, but I need a revie...

Opengraph URL: https://github.com/lcompilers/lpython/pull/2821

X: @github

direct link

Domain: patch-diff.githubusercontent.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:0500247f-220f-9c59-91b0-0dae4ec2f7b0
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idDE62:EFC87:C7C6B5:1098992:6977F278
html-safe-nonce2e35b5361fffb60e65c7d411a9b1bd0c442cda55f3a5474ed3097ebf89b85fbd
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERTYyOkVGQzg3OkM3QzZCNToxMDk4OTkyOjY5NzdGMjc4IiwidmlzaXRvcl9pZCI6Ijg5ODc4MDM3OTgzODIwNDc4NjQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacc50b30a0425a26cbb3a4fbd822090514461b960d5a9e6c8b18ae4584d47186e8
hovercard-subject-tagpull_request:2297470734
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/lcompilers/lpython/pull/2821/files
twitter:imagehttps://avatars.githubusercontent.com/u/65955464?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/65955464?s=400&v=4
og:image:altFix #2723 Add support for class members by identifying them by the new intent ClassMember and creating a global variable for each class member. All the tests are not passing yet, but I need a revie...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None8f1e678146f1d73cbdfdaa349dc174ab7af81d2a7f47a4b5b3ada9eb6e3f9e69
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/lcompilers/lpython git https://github.com/lcompilers/lpython.git
octolytics-dimension-user_id96538276
octolytics-dimension-user_loginlcompilers
octolytics-dimension-repository_id442864346
octolytics-dimension-repository_nwolcompilers/lpython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id442864346
octolytics-dimension-repository_network_root_nwolcompilers/lpython
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasebff6b33928f6bf084f3501ebc5705de0492b7e35
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/lcompilers/lpython/pull/2821/files#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Flcompilers%2Flpython%2Fpull%2F2821%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Flcompilers%2Flpython%2Fpull%2F2821%2Ffiles
Sign up https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=lcompilers%2Flpython
Reloadhttps://patch-diff.githubusercontent.com/lcompilers/lpython/pull/2821/files
Reloadhttps://patch-diff.githubusercontent.com/lcompilers/lpython/pull/2821/files
Reloadhttps://patch-diff.githubusercontent.com/lcompilers/lpython/pull/2821/files
lcompilers https://patch-diff.githubusercontent.com/lcompilers
lpythonhttps://patch-diff.githubusercontent.com/lcompilers/lpython
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Flcompilers%2Flpython
Fork 173 https://patch-diff.githubusercontent.com/login?return_to=%2Flcompilers%2Flpython
Star 1.6k https://patch-diff.githubusercontent.com/login?return_to=%2Flcompilers%2Flpython
Code https://patch-diff.githubusercontent.com/lcompilers/lpython
Issues 503 https://patch-diff.githubusercontent.com/lcompilers/lpython/issues
Pull requests 85 https://patch-diff.githubusercontent.com/lcompilers/lpython/pulls
Actions https://patch-diff.githubusercontent.com/lcompilers/lpython/actions
Projects 0 https://patch-diff.githubusercontent.com/lcompilers/lpython/projects
Wiki https://patch-diff.githubusercontent.com/lcompilers/lpython/wiki
Security 0 https://patch-diff.githubusercontent.com/lcompilers/lpython/security
Insights https://patch-diff.githubusercontent.com/lcompilers/lpython/pulse
Code https://patch-diff.githubusercontent.com/lcompilers/lpython
Issues https://patch-diff.githubusercontent.com/lcompilers/lpython/issues
Pull requests https://patch-diff.githubusercontent.com/lcompilers/lpython/pulls
Actions https://patch-diff.githubusercontent.com/lcompilers/lpython/actions
Projects https://patch-diff.githubusercontent.com/lcompilers/lpython/projects
Wiki https://patch-diff.githubusercontent.com/lcompilers/lpython/wiki
Security https://patch-diff.githubusercontent.com/lcompilers/lpython/security
Insights https://patch-diff.githubusercontent.com/lcompilers/lpython/pulse
Sign up for GitHub https://patch-diff.githubusercontent.com/signup?return_to=%2Flcompilers%2Flpython%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://patch-diff.githubusercontent.com/login?return_to=%2Flcompilers%2Flpython%2Fissues%2Fnew%2Fchoose
xaerruhttps://patch-diff.githubusercontent.com/xaerru
lcompilers:mainhttps://patch-diff.githubusercontent.com/lcompilers/lpython/tree/main
xaerru:fix-direct-class-member-accesshttps://patch-diff.githubusercontent.com/xaerru/lpython/tree/fix-direct-class-member-access
Conversation 4 https://patch-diff.githubusercontent.com/lcompilers/lpython/pull/2821
Commits 1 https://patch-diff.githubusercontent.com/lcompilers/lpython/pull/2821/commits
Checks 18 https://patch-diff.githubusercontent.com/lcompilers/lpython/pull/2821/checks
Files changed https://patch-diff.githubusercontent.com/lcompilers/lpython/pull/2821/files
Please reload this pagehttps://patch-diff.githubusercontent.com/lcompilers/lpython/pull/2821/files
Add support for class members https://patch-diff.githubusercontent.com/lcompilers/lpython/pull/2821/files#top
Show all changes 1 commit https://patch-diff.githubusercontent.com/lcompilers/lpython/pull/2821/files
d6e350e Add class members xaerru Jan 31, 2025 https://patch-diff.githubusercontent.com/lcompilers/lpython/pull/2821/commits/d6e350edb5ac3b061c75b579de63f8ef709c504c
Clear filters https://patch-diff.githubusercontent.com/lcompilers/lpython/pull/2821/files
Please reload this pagehttps://patch-diff.githubusercontent.com/lcompilers/lpython/pull/2821/files
Please reload this pagehttps://patch-diff.githubusercontent.com/lcompilers/lpython/pull/2821/files
CMakeLists.txt https://patch-diff.githubusercontent.com/lcompilers/lpython/pull/2821/files#diff-67c8fb3f4b6629c703ecb1c20661e195a435fe18141d370cd76cd2abc39021a8
class_07.py https://patch-diff.githubusercontent.com/lcompilers/lpython/pull/2821/files#diff-e74d12cfdfafe6d742b4356c921a620f25a5cdaaaaf6024ba5c2987428bd1db2
ASR.asdl https://patch-diff.githubusercontent.com/lcompilers/lpython/pull/2821/files#diff-65d4f5aefdce4101f9c116614e2f04697eeb987fa16565c21070c0daf785c4e5
asr_utils.h https://patch-diff.githubusercontent.com/lcompilers/lpython/pull/2821/files#diff-da3dce35379cdaaf286c90ae38fe3d27efda9a299f60c682dacc97ad1eca5ce7
asr_verify.cpp https://patch-diff.githubusercontent.com/lcompilers/lpython/pull/2821/files#diff-4c4e4bfb652abaa25a83d1d08dfd266e038b8e1f91438c7a5172c743399737f0
asr_to_llvm.cpp https://patch-diff.githubusercontent.com/lcompilers/lpython/pull/2821/files#diff-48a7161397f9eb8b730f0cbec2f11ce1471aac961dc6b16dc558cf161c375054
python_ast_to_asr.cpp https://patch-diff.githubusercontent.com/lcompilers/lpython/pull/2821/files#diff-147457a9117ab6d023c02f9a359d6060c248c4216cfcb47b1fafd17d885063fe
integration_tests/CMakeLists.txthttps://patch-diff.githubusercontent.com/lcompilers/lpython/pull/2821/files#diff-67c8fb3f4b6629c703ecb1c20661e195a435fe18141d370cd76cd2abc39021a8
View file https://patch-diff.githubusercontent.com/lcompilers/lpython/blob/d6e350edb5ac3b061c75b579de63f8ef709c504c/integration_tests/CMakeLists.txt
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/lcompilers/lpython/pull/2821/{{ revealButtonHref }}
https://patch-diff.githubusercontent.com/lcompilers/lpython/pull/2821/files#diff-67c8fb3f4b6629c703ecb1c20661e195a435fe18141d370cd76cd2abc39021a8
https://patch-diff.githubusercontent.com/lcompilers/lpython/pull/2821/files#diff-67c8fb3f4b6629c703ecb1c20661e195a435fe18141d370cd76cd2abc39021a8
integration_tests/class_07.pyhttps://patch-diff.githubusercontent.com/lcompilers/lpython/pull/2821/files#diff-e74d12cfdfafe6d742b4356c921a620f25a5cdaaaaf6024ba5c2987428bd1db2
View file https://patch-diff.githubusercontent.com/lcompilers/lpython/blob/d6e350edb5ac3b061c75b579de63f8ef709c504c/integration_tests/class_07.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/lcompilers/lpython/pull/2821/{{ revealButtonHref }}
src/libasr/ASR.asdlhttps://patch-diff.githubusercontent.com/lcompilers/lpython/pull/2821/files#diff-65d4f5aefdce4101f9c116614e2f04697eeb987fa16565c21070c0daf785c4e5
View file https://patch-diff.githubusercontent.com/lcompilers/lpython/blob/d6e350edb5ac3b061c75b579de63f8ef709c504c/src/libasr/ASR.asdl
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/lcompilers/lpython/pull/2821/{{ revealButtonHref }}
https://patch-diff.githubusercontent.com/lcompilers/lpython/pull/2821/files#diff-65d4f5aefdce4101f9c116614e2f04697eeb987fa16565c21070c0daf785c4e5
https://patch-diff.githubusercontent.com/lcompilers/lpython/pull/2821/files#diff-65d4f5aefdce4101f9c116614e2f04697eeb987fa16565c21070c0daf785c4e5
src/libasr/asr_utils.hhttps://patch-diff.githubusercontent.com/lcompilers/lpython/pull/2821/files#diff-da3dce35379cdaaf286c90ae38fe3d27efda9a299f60c682dacc97ad1eca5ce7
View file https://patch-diff.githubusercontent.com/lcompilers/lpython/blob/d6e350edb5ac3b061c75b579de63f8ef709c504c/src/libasr/asr_utils.h
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/lcompilers/lpython/pull/2821/{{ revealButtonHref }}
https://patch-diff.githubusercontent.com/lcompilers/lpython/pull/2821/files#diff-da3dce35379cdaaf286c90ae38fe3d27efda9a299f60c682dacc97ad1eca5ce7
https://patch-diff.githubusercontent.com/lcompilers/lpython/pull/2821/files#diff-da3dce35379cdaaf286c90ae38fe3d27efda9a299f60c682dacc97ad1eca5ce7
src/libasr/asr_verify.cpphttps://patch-diff.githubusercontent.com/lcompilers/lpython/pull/2821/files#diff-4c4e4bfb652abaa25a83d1d08dfd266e038b8e1f91438c7a5172c743399737f0
View file https://patch-diff.githubusercontent.com/lcompilers/lpython/blob/d6e350edb5ac3b061c75b579de63f8ef709c504c/src/libasr/asr_verify.cpp
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/lcompilers/lpython/pull/2821/{{ revealButtonHref }}
https://patch-diff.githubusercontent.com/lcompilers/lpython/pull/2821/files#diff-4c4e4bfb652abaa25a83d1d08dfd266e038b8e1f91438c7a5172c743399737f0
https://patch-diff.githubusercontent.com/lcompilers/lpython/pull/2821/files#diff-4c4e4bfb652abaa25a83d1d08dfd266e038b8e1f91438c7a5172c743399737f0
src/libasr/codegen/asr_to_llvm.cpphttps://patch-diff.githubusercontent.com/lcompilers/lpython/pull/2821/files#diff-48a7161397f9eb8b730f0cbec2f11ce1471aac961dc6b16dc558cf161c375054
View file https://patch-diff.githubusercontent.com/lcompilers/lpython/blob/d6e350edb5ac3b061c75b579de63f8ef709c504c/src/libasr/codegen/asr_to_llvm.cpp
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/lcompilers/lpython/pull/2821/{{ revealButtonHref }}
https://patch-diff.githubusercontent.com/lcompilers/lpython/pull/2821/files#diff-48a7161397f9eb8b730f0cbec2f11ce1471aac961dc6b16dc558cf161c375054
https://patch-diff.githubusercontent.com/lcompilers/lpython/pull/2821/files#diff-48a7161397f9eb8b730f0cbec2f11ce1471aac961dc6b16dc558cf161c375054
https://patch-diff.githubusercontent.com/lcompilers/lpython/pull/2821/files#diff-48a7161397f9eb8b730f0cbec2f11ce1471aac961dc6b16dc558cf161c375054
https://patch-diff.githubusercontent.com/lcompilers/lpython/pull/2821/files#diff-48a7161397f9eb8b730f0cbec2f11ce1471aac961dc6b16dc558cf161c375054
https://patch-diff.githubusercontent.com/lcompilers/lpython/pull/2821/files#diff-48a7161397f9eb8b730f0cbec2f11ce1471aac961dc6b16dc558cf161c375054
https://patch-diff.githubusercontent.com/lcompilers/lpython/pull/2821/files#diff-48a7161397f9eb8b730f0cbec2f11ce1471aac961dc6b16dc558cf161c375054
https://patch-diff.githubusercontent.com/lcompilers/lpython/pull/2821/files#diff-48a7161397f9eb8b730f0cbec2f11ce1471aac961dc6b16dc558cf161c375054
https://patch-diff.githubusercontent.com/lcompilers/lpython/pull/2821/files#diff-48a7161397f9eb8b730f0cbec2f11ce1471aac961dc6b16dc558cf161c375054
https://patch-diff.githubusercontent.com/lcompilers/lpython/pull/2821/files#diff-48a7161397f9eb8b730f0cbec2f11ce1471aac961dc6b16dc558cf161c375054
src/lpython/semantics/python_ast_to_asr.cpphttps://patch-diff.githubusercontent.com/lcompilers/lpython/pull/2821/files#diff-147457a9117ab6d023c02f9a359d6060c248c4216cfcb47b1fafd17d885063fe
View file https://patch-diff.githubusercontent.com/lcompilers/lpython/blob/d6e350edb5ac3b061c75b579de63f8ef709c504c/src/lpython/semantics/python_ast_to_asr.cpp
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/lcompilers/lpython/pull/2821/{{ revealButtonHref }}
https://patch-diff.githubusercontent.com/lcompilers/lpython/pull/2821/files#diff-147457a9117ab6d023c02f9a359d6060c248c4216cfcb47b1fafd17d885063fe
https://patch-diff.githubusercontent.com/lcompilers/lpython/pull/2821/files#diff-147457a9117ab6d023c02f9a359d6060c248c4216cfcb47b1fafd17d885063fe
https://patch-diff.githubusercontent.com/lcompilers/lpython/pull/2821/files#diff-147457a9117ab6d023c02f9a359d6060c248c4216cfcb47b1fafd17d885063fe
https://patch-diff.githubusercontent.com/lcompilers/lpython/pull/2821/files#diff-147457a9117ab6d023c02f9a359d6060c248c4216cfcb47b1fafd17d885063fe
https://patch-diff.githubusercontent.com/lcompilers/lpython/pull/2821/files#diff-147457a9117ab6d023c02f9a359d6060c248c4216cfcb47b1fafd17d885063fe
https://patch-diff.githubusercontent.com/lcompilers/lpython/pull/2821/files#diff-147457a9117ab6d023c02f9a359d6060c248c4216cfcb47b1fafd17d885063fe
https://patch-diff.githubusercontent.com/lcompilers/lpython/pull/2821/files#diff-147457a9117ab6d023c02f9a359d6060c248c4216cfcb47b1fafd17d885063fe
https://patch-diff.githubusercontent.com/lcompilers/lpython/pull/2821/files#diff-147457a9117ab6d023c02f9a359d6060c248c4216cfcb47b1fafd17d885063fe
https://patch-diff.githubusercontent.com/lcompilers/lpython/pull/2821/files#diff-147457a9117ab6d023c02f9a359d6060c248c4216cfcb47b1fafd17d885063fe
https://patch-diff.githubusercontent.com/lcompilers/lpython/pull/2821/files#diff-147457a9117ab6d023c02f9a359d6060c248c4216cfcb47b1fafd17d885063fe
https://patch-diff.githubusercontent.com/lcompilers/lpython/pull/2821/files#diff-147457a9117ab6d023c02f9a359d6060c248c4216cfcb47b1fafd17d885063fe
Please reload this pagehttps://patch-diff.githubusercontent.com/lcompilers/lpython/pull/2821/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.