mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-22 05:56:15 +02:00
7 lines
No EOL
262 B
Nix
7 lines
No EOL
262 B
Nix
# Note: functions in nested structures, e.g. attributes, may be optimized away by pointer identity optimization.
|
|
# This only compares a direct comparison and makes no claims about functions in nested structures.
|
|
assert
|
|
(x: x)
|
|
==
|
|
(x: x);
|
|
abort "unreachable" |