Files
Odin/src
Jeroen van Rijn 7c3ce334d6 Fix #4508 for abs, min, max (#4516)
* Fix #4508 for abs, min, max and the rest of the builtins.

None of these segfault now:
```odin
package bug

main :: proc() {
	p :: proc() {}

	// _ = len(p())
	// _ = cap(p())

	// _ = size_of(p())
	// _ = align_of(p())

	// T :: struct {}
	// _ = offset_of(p())
	// _ = offset_of(T, p())
	// _ = offset_of(p(), foo)
	// _ = offset_of(p(), "")

	// _ = type_of(p())
	// _ = type_info_of(p())
	// _ = typeid_of(p())

	// A: [4]int
	// _ = swizzle(p())    //  :: proc(x: [N]T, indices: ..int) -> [len(indices)]T ---
	// _ = swizzle(A, p()) //  :: proc(x: [N]T, indices: ..int) -> [len(indices)]T ---

	// _ = complex(p(), p())
	// _ = quaternion(p(), p(), p(), p())
	// _ = quaternion(w=p(), x=p(), y=p(), z=p())

	// _ = real(p())
	// _ = imag(p())
	// _ = jmag(p())
	// _ = kmag(p())
	// _ = conj(p())

	// _ = expand_values(p())

	// _ = min(p())
	// _ = max(p())
	// _ = abs(p())
	// _ = clamp(p(), p(), p())

	// _ = soa_zip(p())
	// _ = soa_unzip(p())
}
```
2024-11-25 15:27:35 +01:00
..
2024-07-08 13:08:18 +01:00
2023-12-13 12:38:01 +00:00
2024-11-16 15:42:13 +01:00
&&
2024-11-07 15:02:19 +01:00
2024-11-14 17:05:34 +00:00
2024-09-14 22:13:37 +02:00
2021-08-29 15:54:56 +02:00
2024-10-04 11:16:33 +01:00
2024-11-25 14:04:17 +00:00
2022-12-18 21:17:07 +00:00
2024-04-26 13:25:08 +01:00
2024-09-01 21:42:47 +02:00
2023-09-11 23:36:39 +01:00
2023-12-13 12:38:01 +00:00
2023-08-19 12:26:59 +01:00
2023-12-13 12:38:01 +00:00
2023-12-13 12:38:01 +00:00