EOLIAN_TYPE_BUILTIN_ARRAY,
EOLIAN_TYPE_BUILTIN_FUTURE,
EOLIAN_TYPE_BUILTIN_ITERATOR,
+#ifdef EFL_BETA_API_SUPPORT
EOLIAN_TYPE_BUILTIN_LIST,
+#else
+ // Placeholder when using release API only. Done to prevent offseting the value below.
+ EOLIAN_TYPE_BUILTIN_BETA_PLACEHOLDER1,
+#endif
EOLIAN_TYPE_BUILTIN_ANY_VALUE,
EOLIAN_TYPE_BUILTIN_ANY_VALUE_REF,
int kwid = eo_lexer_keyword_str_to_id(tp->base.name);
if (kwid > KW_void)
tp->ownable = EINA_TRUE;
- if (kwid == KW_hash && vals->stable)
+ if ((kwid == KW_hash || kwid == KW_list) && vals->stable)
{
- _eo_parser_log(&tp->base, "hashes not allowed in stable context");
+ _eo_parser_log(&tp->base, "hashes and lists not allowed in stable context");
return EINA_FALSE;
}
Eolian_Type *itp = tp->base_type;