Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add test for modules in modules #36

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

add test for modules in modules #36

wants to merge 2 commits into from

Conversation

yaahc
Copy link
Collaborator

@yaahc yaahc commented Feb 23, 2024

No description provided.

@yaahc yaahc force-pushed the module-in-module branch 2 times, most recently from 728db10 to 178b13b Compare February 23, 2024 19:59
src/codegen.rs Outdated Show resolved Hide resolved
tests/integration_tests.rs Outdated Show resolved Hide resolved
@yaahc yaahc force-pushed the module-in-module branch 7 times, most recently from c71399c to b2bb9ed Compare February 28, 2024 20:17
* Associate call resolution with outermost NodeId for namespaced calls
* update codegen to check call resolution on outermost namespaced lookup
use deep2;

fun main() {
deep2::deep3::say_hello()
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For this, I was wondering if we would want deep2 to be a directory we traverse to get to deep3.

Probably worth brainstorming whether files are the only modules or if directories can be too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants