Add get method, tests for Tuple and AbstractArrays :: Take 2 (#40809)#41007
Add get method, tests for Tuple and AbstractArrays :: Take 2 (#40809)#41007vtjnash merged 3 commits intoJuliaLang:masterfrom
Conversation
Maybe I am missing something, but I don't see any tests here where |
|
Oh, I maybe I misinterpreted what side-effects meant. Could you please provide some examples/cases? I thought you just wanted confirmation that Since
Sure, I'll remove those comments. Thanks! |
|
c = 0
@test get(() -> (c += 1; 0), ...) == ...
@test c == 1 |
|
Sure, I'll try something like this out. |
As specified in the PR with the same name (#40856 ), I had messed up my fork and had to start with a fresh fork. Sorry for this, I'm trying to improve :) .
I added tests that were mutating, but I couldn't add
CartesianIndex(cc: @mcabbott ). I was getting this error whilemakeingjulia. I would be glad to fix this if someone could guide me through it.