File tree 1 file changed +6
-8
lines changed
1 file changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -32,8 +32,6 @@ auto lookup_metafunction(
32
32
)
33
33
-> meta::expected<meta::lookup_res>
34
34
{
35
- auto res = meta::lookup_res{};
36
-
37
35
struct scope_t {
38
36
std::string fully_qualified_mangled_name;
39
37
current_names_span::pointer names_first;
@@ -101,12 +99,12 @@ auto lookup_metafunction(
101
99
}
102
100
}
103
101
104
- // Case not yet handled.
105
- if (res. library . empty ()) {
106
- return meta::diagnostic{ " (ICE) metafunction ' " + name + " ' not found " };
107
- }
108
- // else
109
- return res ;
102
+ return meta::diagnostic{
103
+ " metafunction ' " + name + " ' not found \n "
104
+ + " (temporary alpha limitation) lookup for a metafunction name is limited: "
105
+ + " it can be used unqualified from its declaring namespace or a nested namespace thereof, "
106
+ + " and otherwise requires full qualification "
107
+ } ;
110
108
}
111
109
112
110
auto parser::apply_type_metafunctions ( declaration_node& n )
You can’t perform that action at this time.
0 commit comments