-
Notifications
You must be signed in to change notification settings - Fork 219
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
16a1e02
commit fe23e07
Showing
23 changed files
with
219 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
...es/software/amazon/smithy/model/loader/invalid/mixins/with-on-next-line-bigDecimal.smithy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
// Parse error at line 10, column 9 near ` `: Unexpected shape type: with | ||
$version: "2.0" | ||
|
||
namespace smithy.example | ||
|
||
@mixin | ||
bigDecimal MixinBigdecimal | ||
|
||
bigDecimal MixedBigdecimal | ||
with [MixinBigdecimal] | ||
|
11 changes: 11 additions & 0 deletions
11
...es/software/amazon/smithy/model/loader/invalid/mixins/with-on-next-line-bigInteger.smithy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
// Parse error at line 10, column 9 near ` `: Unexpected shape type: with | ||
$version: "2.0" | ||
|
||
namespace smithy.example | ||
|
||
@mixin | ||
bigInteger MixinBiginteger | ||
|
||
bigInteger MixedBiginteger | ||
with [MixinBiginteger] | ||
|
11 changes: 11 additions & 0 deletions
11
...esources/software/amazon/smithy/model/loader/invalid/mixins/with-on-next-line-blob.smithy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
// Parse error at line 10, column 9 near ` `: Unexpected shape type: with | ||
$version: "2.0" | ||
|
||
namespace smithy.example | ||
|
||
@mixin | ||
blob MixinBlob | ||
|
||
blob MixedBlob | ||
with [MixinBlob] | ||
|
11 changes: 11 additions & 0 deletions
11
...urces/software/amazon/smithy/model/loader/invalid/mixins/with-on-next-line-boolean.smithy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
// Parse error at line 10, column 9 near ` `: Unexpected shape type: with | ||
$version: "2.0" | ||
|
||
namespace smithy.example | ||
|
||
@mixin | ||
boolean MixinBoolean | ||
|
||
boolean MixedBoolean | ||
with [MixinBoolean] | ||
|
11 changes: 11 additions & 0 deletions
11
...esources/software/amazon/smithy/model/loader/invalid/mixins/with-on-next-line-byte.smithy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
// Parse error at line 10, column 9 near ` `: Unexpected shape type: with | ||
$version: "2.0" | ||
|
||
namespace smithy.example | ||
|
||
@mixin | ||
byte MixinByte | ||
|
||
byte MixedByte | ||
with [MixinByte] | ||
|
11 changes: 11 additions & 0 deletions
11
...rces/software/amazon/smithy/model/loader/invalid/mixins/with-on-next-line-document.smithy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
// Parse error at line 10, column 9 near ` `: Unexpected shape type: with | ||
$version: "2.0" | ||
|
||
namespace smithy.example | ||
|
||
@mixin | ||
document MixinDocument | ||
|
||
document MixedDocument | ||
with [MixinDocument] | ||
|
11 changes: 11 additions & 0 deletions
11
...ources/software/amazon/smithy/model/loader/invalid/mixins/with-on-next-line-double.smithy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
// Parse error at line 10, column 9 near ` `: Unexpected shape type: with | ||
$version: "2.0" | ||
|
||
namespace smithy.example | ||
|
||
@mixin | ||
double MixinDouble | ||
|
||
double MixedDouble | ||
with [MixinDouble] | ||
|
11 changes: 11 additions & 0 deletions
11
...sources/software/amazon/smithy/model/loader/invalid/mixins/with-on-next-line-float.smithy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
// Parse error at line 10, column 9 near ` `: Unexpected shape type: with | ||
$version: "2.0" | ||
|
||
namespace smithy.example | ||
|
||
@mixin | ||
float MixinFloat | ||
|
||
float MixedFloat | ||
with [MixinFloat] | ||
|
11 changes: 11 additions & 0 deletions
11
...urces/software/amazon/smithy/model/loader/invalid/mixins/with-on-next-line-integer.smithy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
// Parse error at line 10, column 9 near ` `: Unexpected shape type: with | ||
$version: "2.0" | ||
|
||
namespace smithy.example | ||
|
||
@mixin | ||
integer MixinInteger | ||
|
||
integer MixedInteger | ||
with [MixinInteger] | ||
|
12 changes: 12 additions & 0 deletions
12
...esources/software/amazon/smithy/model/loader/invalid/mixins/with-on-next-line-list.smithy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
// Parse error at line 7, column 5 near `with`: Expected: '{', but found 'w' | ||
$version: "2.0" | ||
|
||
namespace smithy.example | ||
|
||
list MixedList | ||
with [MixinList] {} | ||
|
||
@mixin | ||
list MixinList { | ||
member: String | ||
} |
11 changes: 11 additions & 0 deletions
11
...esources/software/amazon/smithy/model/loader/invalid/mixins/with-on-next-line-long.smithy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
// Parse error at line 10, column 9 near ` `: Unexpected shape type: with | ||
$version: "2.0" | ||
|
||
namespace smithy.example | ||
|
||
@mixin | ||
long MixinLong | ||
|
||
long MixedLong | ||
with [MixinLong] | ||
|
13 changes: 13 additions & 0 deletions
13
...resources/software/amazon/smithy/model/loader/invalid/mixins/with-on-next-line-map.smithy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
// Parse error at line 7, column 5 near `with`: Expected: '{', but found 'w' | ||
$version: "2.0" | ||
|
||
namespace smithy.example | ||
|
||
map MixedMap | ||
with [MixinMap] {} | ||
|
||
@mixin | ||
map MixinMap { | ||
key: String | ||
value: String | ||
} |
10 changes: 10 additions & 0 deletions
10
...rces/software/amazon/smithy/model/loader/invalid/mixins/with-on-next-line-resource.smithy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
// Parse error at line 7, column 5 near `with`: Expected: '{', but found 'w' | ||
$version: "2.0" | ||
|
||
namespace smithy.example | ||
|
||
resource MixedResource | ||
with [MixinResource] {} | ||
|
||
@mixin | ||
resource MixinResource {} |
10 changes: 10 additions & 0 deletions
10
...urces/software/amazon/smithy/model/loader/invalid/mixins/with-on-next-line-service.smithy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
// Parse error at line 7, column 5 near `with`: Expected: '{', but found 'w' | ||
$version: "2.0" | ||
|
||
namespace smithy.example | ||
|
||
service MixedService | ||
with [MixinService] {} | ||
|
||
@mixin | ||
service MixinService {} |
13 changes: 13 additions & 0 deletions
13
...resources/software/amazon/smithy/model/loader/invalid/mixins/with-on-next-line-set.smithy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
// Parse error at line 7, column 5 near `with`: Expected: '{', but found 'w' | ||
$version: "2.0" | ||
|
||
namespace smithy.example | ||
|
||
map MixedMap | ||
with [MixinMap] {} | ||
|
||
@mixin | ||
map MixinMap { | ||
key: String | ||
value: String | ||
} |
11 changes: 11 additions & 0 deletions
11
...sources/software/amazon/smithy/model/loader/invalid/mixins/with-on-next-line-short.smithy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
// Parse error at line 10, column 9 near ` `: Unexpected shape type: with | ||
$version: "2.0" | ||
|
||
namespace smithy.example | ||
|
||
@mixin | ||
short MixinShort | ||
|
||
short MixedShort | ||
with [MixinShort] | ||
|
File renamed without changes.
10 changes: 10 additions & 0 deletions
10
...ces/software/amazon/smithy/model/loader/invalid/mixins/with-on-next-line-structure.smithy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
// Parse error at line 7, column 5 near `with`: Expected: '{', but found 'w' | ||
$version: "2.0" | ||
|
||
namespace smithy.example | ||
|
||
structure MixedStructure | ||
with [MixinStructure] {} | ||
|
||
@mixin | ||
structure MixinStructure {} |
11 changes: 11 additions & 0 deletions
11
...ces/software/amazon/smithy/model/loader/invalid/mixins/with-on-next-line-timestamp.smithy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
// Parse error at line 10, column 9 near ` `: Unexpected shape type: with | ||
$version: "2.0" | ||
|
||
namespace smithy.example | ||
|
||
@mixin | ||
timestamp MixinTimestamp | ||
|
||
timestamp MixedTimestamp | ||
with [MixinTimestamp] | ||
|
10 changes: 10 additions & 0 deletions
10
...sources/software/amazon/smithy/model/loader/invalid/mixins/with-on-next-line-union.smithy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
// Parse error at line 7, column 5 near `with`: Expected: '{', but found 'w' | ||
$version: "2.0" | ||
|
||
namespace smithy.example | ||
|
||
union MixedUnion | ||
with [MixinUnion] {} | ||
|
||
@mixin | ||
union MixinUnion {} |