From 335d028dcc02c78ab3476b4b7bf367583c7abae6 Mon Sep 17 00:00:00 2001 From: Marten Lohstroh Date: Thu, 2 Nov 2023 20:35:40 -0700 Subject: [PATCH] Apply formatter --- .../org/lflang/validation/LFValidator.java | 3 ++- test/Rust/src/target/BuildProfileRelease.lf | 19 +++++++++---------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/core/src/main/java/org/lflang/validation/LFValidator.java b/core/src/main/java/org/lflang/validation/LFValidator.java index 4b81555710..def6bcc8de 100644 --- a/core/src/main/java/org/lflang/validation/LFValidator.java +++ b/core/src/main/java/org/lflang/validation/LFValidator.java @@ -1074,7 +1074,8 @@ public void checkTargetDecl(TargetDecl target) throws IOException { @Check(CheckType.NORMAL) public void checkTargetProperties(KeyValuePairs targetProperties) { if (targetProperties.eContainer() instanceof TargetDecl) { - // Skip dictionaries that may be part of a target property value because type checking is done recursively. + // Skip dictionaries that may be part of a target property value because type checking is done + // recursively. new TargetConfig(this.target).validate(targetProperties, this.info.model, getErrorReporter()); } } diff --git a/test/Rust/src/target/BuildProfileRelease.lf b/test/Rust/src/target/BuildProfileRelease.lf index 0d9b607270..da19c0bc79 100644 --- a/test/Rust/src/target/BuildProfileRelease.lf +++ b/test/Rust/src/target/BuildProfileRelease.lf @@ -1,13 +1,12 @@ // Tests that the we can enable the release profile A proxy for checking this is to check that debug // assertions are disabled. target Rust { - build-type: "Release" - } - - main reactor { - reaction(startup) {= - assert!(!cfg!(debug_assertions), "debug assertions should be disabled"); - println!("success"); - =} - } - \ No newline at end of file + build-type: "Release" +} + +main reactor { + reaction(startup) {= + assert!(!cfg!(debug_assertions), "debug assertions should be disabled"); + println!("success"); + =} +}