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

Plugin not handling name change for main.v and module main #26

Open
quaesitor-scientiam opened this issue Jan 17, 2025 · 0 comments
Open

Comments

@quaesitor-scientiam
Copy link

Describe the bug

Rename of main.v and module name plugin refuses to recognize and insists on it being name main. Generates build error.

Expected Behavior

Build according to name of file and output to name of the file. No build error

Current Behavior

See the bug description

Reproduction Steps

Rename main.v and module name in the file. Then build

Possible Solution

No response

Additional Information/Context

Image

Environment details (v doctor output)

The code file src\return is not a file. Please check your path and file!
(py3.12)PS S:\vProjects\vCompiler> v doctor
|V full version      |V 0.4.9 45fd7eb.994b824
|:-------------------|:-------------------
|OS                  |windows, Microsoft Windows 11 Pro 26100 64-bit
|Processor           |24 cpus, 64bit, little endian, AMD Ryzen 9 5900X 12-Core Processor
|Memory              |87.85GB/127.92GB
|                    |
|V executable        |S:\repo\vlang\v.exe
|V last modified time|2025-01-16 23:38:41
|                    |
|V home dir          |OK, value: S:\repo\vlang
|VMODULES            |OK, value: C:\Users\john3\.vmodules
|VTMP                |OK, value: C:\Users\john3\AppData\Local\Temp\v_0
|Current working dir |OK, value: S:\vProjects\vCompiler
|                    |
|Git version         |git version 2.45.1.windows.1
|V git status        |weekly.2025.1-98-g994b824b (1 commit(s) behind V master)
|.git/config present |true
|                    |
|cc version          |N/A
|gcc version         |gcc (MinGW-W64 x86_64-ucrt-posix-seh, built by Brecht Sanders, r2) 14.2.0
|clang version       |(built by Brecht Sanders, r2) clang version 19.1.1
|msvc version        |N/A
|tcc version         |tcc version 0.9.27 (x86_64 Windows)
|tcc git status      |thirdparty-windows-amd64 b425ac82
|emcc version        |N/A
|glibc version       |N/A

IDE Type (IDEA Community/Ultimate, GoLand, CLion, etc.)

2024.3.1

Plugin Version

2024.3.1

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

No branches or pull requests

1 participant