Skip to content

Exported functions marked as unused #28

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

Open
Xyndra opened this issue Feb 23, 2025 · 0 comments
Open

Exported functions marked as unused #28

Xyndra opened this issue Feb 23, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@Xyndra
Copy link

Xyndra commented Feb 23, 2025

Describe the bug

When marking a function as exported, it still shows as unused

Expected Behavior

It should stop showing as unused

Current Behavior

It still shows as unused

Reproduction Steps

  1. Create a function
  2. Mark it as export

Possible Solution

check for functions being marked as exported

Additional Information/Context

No response

Environment details (v doctor output)

|V full version      |V 0.4.9 d0ce8a2.515d78d
|:-------------------|:-------------------
|OS                  |windows, Microsoft Windows 11 Pro 22635 64-bit
|Processor           |8 cpus, 64bit, little endian, 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz  
|Memory              |35.18GB/63.67GB
|                    |
|V executable        |D:\software\v\v.exe
|V last modified time|2025-02-21 18:24:34
|                    |
|V home dir          |OK, value: D:\software\v
|VMODULES            |OK, value: C:\Users\Sammy\.vmodules
|VTMP                |OK, value: C:\Users\Sammy\AppData\Local\Temp\v_0
|Current working dir |OK, value: D:\Code\v\snippy
|                    |
|Git version         |git version 2.48.1.windows.1
|V git status        |515d78d7 (8 commit(s) behind V master)
|.git/config present |true
|                    |
|cc version          |N/A
|gcc version         |gcc (MinGW.org GCC-6.3.0-1) 6.3.0
|clang version       |clang version 19.1.7
|msvc version        |N/A
|tcc version         |tcc version 0.9.27 (x86_64 Windows)
|tcc git status      |thirdparty-windows-amd64 b425ac82
|emcc version        |emcc (Emscripten gcc/clang-like replacement + linker emulating GNU ld) 4.0.3 (a9651ff57165f5710bb09a5fe52590fd6ddb72df)
|glibc version       |N/A

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

CLion

Plugin Version

2024.3.1

@Krotki Krotki added the enhancement New feature or request label Apr 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants