Skip to content

Commit

Permalink
Merge branch 'smithy-lang:main' into dss
Browse files Browse the repository at this point in the history
  • Loading branch information
daddykotex committed Dec 14, 2023
2 parents 0c25069 + 63d3314 commit a8bfc34
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 1 deletion.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
smithyVersion=1.41.0
smithyVersion=1.42.0
Original file line number Diff line number Diff line change
Expand Up @@ -493,6 +493,14 @@ public void shapeIdFromLocationV2() throws Exception {
new Position(160,8)).get());
assertEquals(ShapeId.from("com.example#OtherStructure"), project.getShapeIdFromLocation(testUri,
new Position(7, 15)).get());
assertEquals(ShapeId.from("com.foo#ShortI"), project.getShapeIdFromLocation(uri,
new Position(210,5)).get());
assertEquals(ShapeId.from("com.foo#ShortI$c"), project.getShapeIdFromLocation(uri,
new Position(211,6)).get());
assertEquals(ShapeId.from("com.foo#ShortO"), project.getShapeIdFromLocation(uri,
new Position(215,5)).get());
assertEquals(ShapeId.from("com.foo#ShortO$d"), project.getShapeIdFromLocation(uri,
new Position(216,6)).get());
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -201,3 +201,18 @@ structure FalseInlinedReversedBarOutput {

@trait
structure emptyTraitStruct {}

operation ShortInputOutput {
output: ShortO
input: ShortI
}

@input
structure ShortI {
c: String
}

@output
structure ShortO {
d: String
}

0 comments on commit a8bfc34

Please sign in to comment.