$define would occasionally not properly evaluate declarations it encountered.

This commit is contained in:
Christoffer Lerno
2024-10-30 11:59:18 +01:00
parent 7f70145f55
commit 827440686f
3 changed files with 8 additions and 0 deletions

View File

@@ -1,6 +1,9 @@
// Copyright (c) 2023 Christoffer Lerno. All rights reserved.
// Use of this source code is governed by the MIT license
// a copy of which can be found in the LICENSE_STDLIB file.
<*
@require $defined(Key{}.hash()) `No .hash function found on the key`
*>
module std::collections::map(<Key, Value>);
import std::math;