Skip to content

Commit eef8179

Browse files
committed
fixup! Add EEP for native records
1 parent 9ed9988 commit eef8179

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

eeps/eep-0079.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -212,8 +212,8 @@ module it will issue a warning if keys are not present.
212212

213213
If no value is provided for a field, and there is a default field
214214
value in the native record definition, the default value is used. If
215-
no value is provided for a field and there is no default field value
216-
then a native record creation fails with a `badrecord` error.
215+
no value is provided for a field and there is no default field value,
216+
a native record creation fails with a `{novalue,FieldName}` error.
217217

218218
In OTP 29, the default value can only be an expression that can be
219219
evaluated to a constant at compile-time. Essentially, the allowed

0 commit comments

Comments
 (0)