//// [wrappedAndRecursiveConstraints3.ts]
import { _ as _class_call_check } from "@swc/helpers/_/_class_call_check";
// no errors expected
var C = /*#__PURE__*/ function() {
    "use strict";
    function C(x) {
        _class_call_check(this, C);
    }
    var _proto = C.prototype;
    _proto.foo = function foo(x) {
        function bar(x) {
            return x;
        }
        return bar;
    };
    return C;
}();
var c = new C({
    length: 2
});
var r = c.foo({
    length: 3,
    charAt: function charAt(x) {
        '';
    }
});
var r2 = r('');
