You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
struct x.crypto.chacha20.Cipher was declared as private to module x.crypto.chacha20, so it can not be used inside module
Possible Solution
No response
Additional Information/Context
No response
V version
V 0.4.7 b5452e0
Environment details (OS name and version, etc.)
V full version: V 0.4.7 c2f7afd.b5452e0
OS: linux, Linux version 5.14.0-427.26.1.el9_4.x86_64 (mockbuild@pp-el9) (gcc (GCC) 11.4.1 20231218 (Red Hat 11.4.1-3), GNU ld version 2.35.2-43.el9) #1 SMP PREEMPT_DYNAMIC Wed Jul 17 15:28:16 CEST 2024
Processor: 8 cpus, 64bit, little endian, Intel(R) Core(TM) i7-4790K CPU @ 4.00GHz
Describe the bug
It is mentioned in comments that
Cipher
should be used if needed, but it is private, so it can't be used.Reproduction Steps
import x.crypto.chacha20
struct MyStruct {
le_cipher &chacha20.Cipher
}
Expected Behavior
Could define struct
Current Behavior
Can't define struct
struct
x.crypto.chacha20.Cipher
was declared as private to modulex.crypto.chacha20
, so it can not be used inside modulePossible Solution
No response
Additional Information/Context
No response
V version
V 0.4.7 b5452e0
Environment details (OS name and version, etc.)
V full version: V 0.4.7 c2f7afd.b5452e0
OS: linux, Linux version 5.14.0-427.26.1.el9_4.x86_64 (mockbuild@pp-el9) (gcc (GCC) 11.4.1 20231218 (Red Hat 11.4.1-3), GNU ld version 2.35.2-43.el9) #1 SMP PREEMPT_DYNAMIC Wed Jul 17 15:28:16 CEST 2024
Processor: 8 cpus, 64bit, little endian, Intel(R) Core(TM) i7-4790K CPU @ 4.00GHz
getwd: /home/coachonko/Documents/projects/vlang/firebird
vexe: /home/coachonko/.local/lib64/v/v
vexe mtime: 2024-07-28 07:13:47
vroot: OK, value: /home/coachonko/.local/lib64/v
VMODULES: OK, value: /home/coachonko/.vmodules
VTMP: OK, value: /tmp/v_1000
Git version: git version 2.43.5
Git vroot status: weekly.2024.28-73-gb5452e0a (16 commit(s) behind V master)
.git/config present: true
CC version: cc (GCC) 11.4.1 20231218 (Red Hat 11.4.1-3)
thirdparty/tcc status: thirdparty-linux-amd64 a0799a5b
Note
You can use the 👍 reaction to increase the issue's priority for developers.
Please note that only the 👍 reaction to the issue itself counts as a vote.
Other reactions and those to comments will not be taken into account.
The text was updated successfully, but these errors were encountered: