Skip to content
This repository has been archived by the owner on Jun 3, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants