Skip to content

Commit 5e26818

Browse files
committed
Add missing codegen names (#4151)
1 parent 40c19f3 commit 5e26818

File tree

203 files changed

+1439
-518
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

203 files changed

+1439
-518
lines changed

compiler/src/model/build-model.ts

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -384,12 +384,11 @@ function compileClassOrInterfaceDeclaration (declaration: ClassDeclaration | Int
384384
type.body = { kind: 'no_body' }
385385
} else {
386386
const tags = parseJsDocTags((member as PropertySignature).getJsDocs())
387-
// TODO: Enable this after adding the missing codegen names.
388-
// assert(
389-
// member as Node,
390-
// tags.codegen_name != null,
391-
// 'You should configure a body @codegen_name'
392-
// )
387+
assert(
388+
member as Node,
389+
tags.codegen_name != null,
390+
'You should configure a body @codegen_name'
391+
)
393392
type.body = {
394393
kind: 'value',
395394
value: property.valueOf,

0 commit comments

Comments
 (0)