<Wanda[cis]>
the last line doesn't actually test anything, since no flip is happening there
<Wanda[cis]>
also ... holy shit this is an actual gopher server?
mindw0rk has quit [Ping timeout: 264 seconds]
mindw0rk has joined #amaranth-lang
lf_ has quit [Ping timeout: 260 seconds]
lf has joined #amaranth-lang
<cr1901>
Wanda[cis]: Yes, re: actual Gopher server
<cr1901>
Wanda[cis]: I'm not sure what you mean when "a non-member would be nice too" then. If I change it to "self.g = Signature({"h": In(1)})", then a flip _should_ happen. 1/2
<cr1901>
But you want a test case for a plain member to make sure "nothing _bad_ happens to it". Is a flip "bad" in this case :P?
<cr1901>
Basically, I'm having a parse fail/bad day today :P
<Wanda[cis]>
well, g is clearly a non-member of the signature
<Wanda[cis]>
except the last line doesn't involve FlippedInterface at all, so it's not really testing anything
<Wanda[cis]>
(you could test flipped(ifsub).g instead, which would be a valid test)
<Wanda[cis]>
likewise, your test on "f" doesn't actually go through FlippedInterface __getattr__ logic, I'd instead check if ifsub.a.f is still a Signal and not a FlippedInterface or an error
<Wanda[cis]>
basically: you need to ensure the tests you're writing actually involve the logic you're modifying
<Wanda[cis]>
(the ones that use ifsub.signature also don't, since they test FlippedSignature logic instead)
<jer_emy[m]>
does anyone use the SSH remote build functionality that appears to be in the build system? If so, do you have any examples of how to activate it (as opposed to a local build)
notgull has quit [Ping timeout: 246 seconds]
notgull has joined #amaranth-lang
eigenform has quit [Server closed connection]
eigenform has joined #amaranth-lang
omnitechnomancer has quit [Quit: Idle timeout reached: 172800s]
vegard_e[m] has quit [Quit: Idle timeout reached: 172800s]
ravenslofty[m] has quit [Quit: Idle timeout reached: 172800s]
bob_twinkles[m] has quit [Quit: Idle timeout reached: 172800s]