1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111
|
-- cue.mod/modules.cue --
-- invalid_file_attr.cue --
@extern("test" foo)
package foo
-- invalid_field_attr.cue --
@extern("test")
// Foo
package foo
Fn1: _ @test("file1.xx" abi sig)
-- empty_extern.cue --
@extern()
package foo
Fn2: _ @test("file1.xx" abi sig)
-- unknown_interpreter.cue --
@extern("wazem")
package foo
Fn3: _ @wazem("file1.xx" abi sig)
-- double_extern_a.cue --
@extern("test")
@extern("test")
package foo
Fn4a: _ @test("file1.xx")
-- double_extern_b.cue --
@extern("test")
@extern("test")
@extern("test")
package foo
Fn4b: _ @test("file1.xx")
-- package_attr.cue --
@extern("test")
package foo
@test("file1.xx")
Fn5: _
-- duplicate.cue --
@extern("test")
package foo
Fn6: _ @test("file1.xx",sig=func(int)int) @test("file1.xx", sig=func(int)bool)
Fn7: {
@test("file1.xx",sig=func(int)int)
_
} @test("file1.xx", sig=func(int)bool)
-- non_ident.cue --
@extern("test")
package foo
("something"): _ @test("file1.xx",sig=func(int)int)
[string]: _ @test("file1.xx",sig=func(int)int)
-- late_extern.cue --
package foo
@extern("test")
Foo: _ @test(file1.xx, abi=c, sig="func(int)int")
-- out/extern --
only one file-level extern attribute allowed per file:
./double_extern_a.cue:2:1
only one file-level extern attribute allowed per file:
./double_extern_b.cue:2:1
duplicate @test attributes:
./duplicate.cue:6:43
duplicate @test attributes:
./duplicate.cue:11:3
interpreter name must be non-empty:
./empty_extern.cue:1:1
no interpreter defined for "\"test\" foo":
./invalid_file_attr.cue:1:1
extern attribute must appear before package clause:
./late_extern.cue:3:1
external attribute has non-concrete label ("something"):
./non_ident.cue:6:18
external attribute has non-concrete label [string]:
./non_ident.cue:8:13
@test attribute not associated with field:
./package_attr.cue:5:1
no interpreter defined for "wazem":
./unknown_interpreter.cue:1:1
|