revert bad nomagic

This commit is contained in:
Erik Krogh Kristensen
2021-12-10 23:58:11 +01:00
parent 35c7fa58a7
commit 7643aac207

View File

@@ -263,7 +263,6 @@ module Value {
* object of that name.
* For example `Value::named("len")` is the `Value` representing the `len` built-in function.
*/
pragma[nomagic]
Value named(string name) {
exists(string modname, string attrname | name = modname + "." + attrname |
result = Module::named(modname).attr(attrname)