-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Open
Labels
bugObserved behavior contradicts documented or intended behaviorObserved behavior contradicts documented or intended behaviorregressionIt worked in a previous version of Zig, but stopped working.It worked in a previous version of Zig, but stopped working.standard libraryThis issue involves writing Zig code for the standard library.This issue involves writing Zig code for the standard library.
Milestone
Description
Zig Version
0.16.0-dev.463+f624191f9
Steps to Reproduce and Observed Behavior
This test does not compile on master: https://zigbin.io/95cc28
/Users/benburkert/.local/share/mise/installs/zig/master/lib/std/crypto/codecs/asn1/der/Encoder.zig:120:47: error: root source file struct 'crypto.codecs.asn1.der.ArrayListReverse' has no member named 'Writer'
pub fn writer(self: *Encoder) ArrayListReverse.Writer {
~~~~~~~~~~~~~~~~^~~~~~~
/Users/benburkert/.local/share/mise/installs/zig/master/lib/std/crypto/codecs/asn1/der/ArrayListReverse.zig:1:1: note: struct declared here
//! An ArrayList that grows backwards. Counts nested prefix length fields
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
referenced by:
length: /Users/benburkert/.local/share/mise/installs/zig/master/lib/std/crypto/codecs/asn1/der/Encoder.zig:97:25
tagBytes: /Users/benburkert/.local/share/mise/installs/zig/master/lib/std/crypto/codecs/asn1/der/Encoder.zig:115:20
6 reference(s) hidden; use '-freference-trace=8' to see all references
It does compile and pass on 0.15.1.
Expected Behavior
The test should pass.
Metadata
Metadata
Assignees
Labels
bugObserved behavior contradicts documented or intended behaviorObserved behavior contradicts documented or intended behaviorregressionIt worked in a previous version of Zig, but stopped working.It worked in a previous version of Zig, but stopped working.standard libraryThis issue involves writing Zig code for the standard library.This issue involves writing Zig code for the standard library.