ffi 2.5 xfail: name: Type; field body item in #jni_class

`Point :: #jni_class("...") { x: s32; y: s32; }` should parse,
today's 2.4 body loop sees the identifier `x`, expects `::`, hits
`:` and errors. The make-green follow-up adds a `field` variant to
`JniClassMember` and a parser branch that detects `<ident>:` (vs
`<ident>::`) as the field-decl indicator.
This commit is contained in:
agra
2026-05-20 10:03:54 +03:00
parent a5c6f754a8
commit 1dee9ba67b
3 changed files with 21 additions and 0 deletions

View File

@@ -0,0 +1 @@
1

View File

@@ -0,0 +1 @@
/Users/agra/projects/sx/examples/ffi-jni-class-05-field.sx:12:6: error: expected '::'