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

builder error: bad module definition in .vmodules #12292

Open
ghost opened this issue Oct 25, 2021 · 0 comments
Open

builder error: bad module definition in .vmodules #12292

ghost opened this issue Oct 25, 2021 · 0 comments
Assignees
Labels
Bug This tag is applied to issues which reports bugs. Module Lookup Problem Bugs/feature requests, that are related to looking up modules/mismatches in module names/paths. Status: Confirmed This bug has been confirmed to be valid by a contributor.

Comments

@ghost
Copy link

ghost commented Oct 25, 2021

V version: 0.2.4 45c1c1a
OS: ArchLinux

module definition is broken in .vmodules like this vlang/vab#61

I searched for the issue in V's issues, but didn't seem to be there, so filed here.

What did you do?

~/.vmodules/vab > v vab.v

What did you expect to see?

What did you see instead?

vab.v:11:1: builder error: bad module definition: vab.v imports module "android.sdk" but /home/tsukasa/.vmodules/vab/android/sdk/sdk.v is defined as module `vab.android.sdk`.
    9 | import java
   10 | import android
   11 | import android.sdk
      | ~~~~~~~~~~~~~~~~~~
   12 | import android.ndk
@ghost ghost added the Bug This tag is applied to issues which reports bugs. label Oct 25, 2021
@ghost ghost changed the title builder error: bad module definition in .vmodules builder error: bad module definition in .vmodules Oct 25, 2021
@spytheman spytheman added Module Lookup Problem Bugs/feature requests, that are related to looking up modules/mismatches in module names/paths. Status: Confirmed This bug has been confirmed to be valid by a contributor. labels Jan 31, 2022
@spytheman spytheman self-assigned this Jan 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug This tag is applied to issues which reports bugs. Module Lookup Problem Bugs/feature requests, that are related to looking up modules/mismatches in module names/paths. Status: Confirmed This bug has been confirmed to be valid by a contributor.
Projects
None yet
Development

No branches or pull requests

1 participant