;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2016, 2017, 2019, 2021, 2022 Efraim Flashner ;;; Copyright © 2017 Mathieu Othacehe ;;; Copyright © 2017 Clément Lassieur ;;; Copyright © 2017 Ricardo Wurmus ;;; Copyright © 2017, 2018, 2019, 2020 Tobias Geerinckx-Rice ;;; ;;; This file is part of GNU Guix. ;;; ;;; GNU Guix is free software; you can redistribute it and/or modify it ;;; under the terms of the GNU General Public License as published by ;;; the Free Software Foundation; either version 3 of the License, or (at ;;; your option) any later version. ;;; ;;; GNU Guix is distributed in the hope that it will be useful, but ;;; WITHOUT ANY WARRANTY; without even the implied warranty of ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ;;; GNU General Public License for more details. ;;; ;;; You should have received a copy of the GNU General Public License ;;; along with GNU Guix. If not, see . (define-module (gnu packages connman) #:use-module (guix packages) #:use-module (guix download
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'test/compress/pure_getters.js')
-rw-r--r--test/compress/pure_getters.js13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/compress/pure_getters.js b/test/compress/pure_getters.js
index c2dcb95b..846b53c3 100644
--- a/test/compress/pure_getters.js
+++ b/test/compress/pure_getters.js
@@ -106,3 +106,16 @@ unsafe_reduce_vars: {
(void 0).prop;
}
}
+
+chained: {
+ options = {
+ pure_getters: "strict",
+ side_effects: true,
+ }
+ input: {
+ a.b.c;
+ }
+ expect: {
+ a.b.c;
+ }
+}
(source (origin (method url-fetch) (uri (string-append "https://github.com/andrew-bibb/cmst/releases/download/" version "/cmst-" version ".tar.xz")) (sha256 (base32 "0jn12wxwjznady6aniwmvahg1dj25p902sdwj0070biv6vx5c7dq")))) (inputs (list qtbase-5)) (native-inputs (list qttools-5)) (build-system gnu-build-system) (arguments '(#:phases (modify-phases %standard-phases (replace 'configure (lambda* (#:key outputs #:allow-other-keys) (invoke "qmake" (string-append "PREFIX=" (assoc-ref outputs "out"))))) (add-before 'build 'fix-Makefiles (lambda* (#:key inputs outputs #:allow-other-keys) (let ((out (assoc-ref outputs "out"))) (substitute* (find-files "." "Makefile") (("INSTALL_ROOT)") (string-append "INSTALL_ROOT)" out)) (("/usr") "")) (substitute* '("apps/cmstapp/cmstapp.pro" "apps/cmstapp/code/control_box/controlbox.cpp" "apps/rootapp/rootapp.pro" "apps/rootapp/system/org.cmst.roothelper.service" "cmst.pri" "cmst.pro") (("/usr") out) (("/etc") (string-append out "/etc"))) #t)))))) (home-page "https://github.com/andrew-bibb/cmst") (synopsis "Qt frontend for Connman") (description "Cmst is a Qt based frontend for the @code{connman} connection manager. This package also provides a systemtray icon.") (license x11)))