Skip to content

Commit

Permalink
Update legend-pure to 5.4.2 (#2794)
Browse files Browse the repository at this point in the history
  • Loading branch information
kevin-m-knight-gs authored Apr 19, 2024
1 parent a151ef7 commit f4dfb51
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ function meta::alloy::objectReference::parseAlloyObjectReferenceV1(ref : String[

if($type->toLower() == 'relational',
|parseAlloyRelationalStoreObjectReferenceV1($ref->substring($typeEnd+1), $lengthStringSize, $type),
|fail('Not Supported Yet!!'); []->newMap(););
|fail('Not Supported Yet!!'); [pair('x',$type)]->newMap(););
}

function meta::alloy::objectReference::parseAlloyRelationalStoreObjectReferenceV1(ref : String[1], lengthStringSize:Integer[1], type:String[1]):Map<String, Any>[1]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ function meta::relational::relation::testUtils::processTDS(tds:TDS<Any>[1], stat



function meta::relational::relation::testUtils::testTDSDatabaseRun(f:Function<{->Any[*]}>[1]):Any[*]
function meta::relational::relation::testUtils::testTDSDatabaseRun(f:Function<{->Any[1]}>[1]):Any[1]
{
// //For debug
// meta::pure::executionPlan::executionPlan($f->meta::relational::relation::testUtils::reprocess().first, ^meta::pure::runtime::ExecutionContext(), meta::relational::extension::relationalExtensions(), debug());
Expand Down Expand Up @@ -698,4 +698,4 @@ function <<test.Test>> meta::relational::relation::testUtils::tests::testClassTo
'addresses',
'zip'
], $res.mapping.classMappings->cast(@RootRelationalInstanceSetImplementation).propertyMappings.property.name);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@

function <<test.Test, test.AlloyOnly>> meta::relational::relation::executeDatabaseTests():Boolean[1]
{
meta::pure::functions::relation::tests::executeTests(meta::relational::relation::testUtils::testTDSDatabaseRun_Function_1__Any_MANY_);
meta::pure::functions::relation::tests::executeTests(meta::relational::relation::testUtils::testTDSDatabaseRun_Function_1__Any_1_);
}

function meta::relational::relation::executeSingleTest():Boolean[1]
{
meta::pure::functions::relation::tests::filter::testSimpleFilterShared(meta::relational::relation::testUtils::testTDSDatabaseRun_Function_1__Any_MANY_);
}
meta::pure::functions::relation::tests::filter::testSimpleFilterShared(meta::relational::relation::testUtils::testTDSDatabaseRun_Function_1__Any_1_);
}
Original file line number Diff line number Diff line change
Expand Up @@ -107,14 +107,14 @@ function meta::external::store::rel::utils::orDefaultValue<T|m>(result: Result<T
function meta::external::store::rel::utils::unwrap<T>(result: Result<T|0..1>[1]): T[1] {
if($result.errors->isEmpty(),
| $result.values->toOne(),
| fail($result->failMessage())
| fail($result->failMessage()); $result.values->toOne();
)
}

function meta::external::store::rel::utils::unwrapm<T>(result: Result<T|*>[1]): T[*] {
if($result.errors->isEmpty(),
| $result.values,
| fail($result->failMessage())
| fail($result->failMessage()); $result.values;
)
}

Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@

<properties>
<!-- Legend -->
<legend.pure.version>5.3.0</legend.pure.version>
<legend.pure.version>5.4.2</legend.pure.version>
<legend.shared.version>0.25.4</legend.shared.version>

<!-- SONAR -->
Expand Down

0 comments on commit f4dfb51

Please sign in to comment.