diff --git a/core/stdlib/std.ncl b/core/stdlib/std.ncl index 020cf12fb0..c937a0daed 100644 --- a/core/stdlib/std.ncl +++ b/core/stdlib/std.ncl @@ -2155,7 +2155,7 @@ if there is no such field. "%% = fun field default_value r => - if std.record.has_field field r then + if std.record.has_field field r then std.record.get field r else default_value,