text:
[Constant Evaluator][Tests] Add tests to check constant evaluability of Swift code snippets

This PR adds a new sil-opt pass: ConstantEvaluableSubsetCheck.cpp to check constant evaluability of Swift code snippets. This pass is only used in tests and will eventually replace pound_assert.swift tests.
This PR also adds a new test: constant_evaluable_subset_test.swift that contains Swift code snippets that are expected to be constant evaluable and those that are not. The goal of this test is to document Swift code snippets known to be constant evaluable (and not) and catch any regressions in the SILGen and mandatory passes that could change the constant evaluability of these code snippets.
(See only the most recent commit in this PR, which has the relevant changes.)

@swift-ci Please test

@swift-ci Please test

Build failed
Swift Test OS X Platform
Git Sha - 37736f3efdad32c4d60be71d79732a53eb0f1e0b

Build failed
Swift Test Linux Platform
Git Sha - 37736f3efdad32c4d60be71d79732a53eb0f1e0b

authors: ravikandhadai swift-ci


text:
Circular validation cleanups, part 6

The epic follow-up to https://github.com/apple/swift/pull/27571.
The following methods used to get the interface type and extract the result type out of it:

SubscriptDecl::getElementInterfaceType()
FuncDecl::getResultInterfaceType()
ConstructorDecl::getResultInterfaceType()

This PR refactors them into requests which directly compute the type, with the exception of the last one which is so trivial it is not a request in itself.
This means that AbstractFunctionDecl::computeType() and SubscriptDecl::computeType() no longer depend on validateDecl() having run first so that the result type is computed as a side effect; instead they call the above methods to compute it lazily.
At this point, the only two side effects of validateDecl() that prevent us from converting it into a bona-fide request are checking the @_cdecl attribute, and forcing raw value validation since IRGen doesn't yet deal with malformed raw values.

@CodaFi Ignore the commit that changes the module format version, I'll be dropping that one shortly.

@swift-ci Please smoke test

@swift-ci Please test source compatibility

@swift-ci Please smoke test macOS

@swift-ci Please test source compatibility Debug

Source compat debug failure is due to UPASS - someone needs to un-XFAIL it

https://github.com/apple/swift-lldb/pull/2057
@swift-ci Please smoke test macOS

source: gharchive/pull-request

authors: slavapestov theblixguy

repo: apple/swift

license_type: permissive

license_source: github-api


text:
build: prevent FILE_DEPENDS from being used

The FILE_DEPENDS option is used in exactly one location: swiftCore.
This prevention sets the groundwork for removing the option.
Dependencies should be tracked at the target level.

Replace this paragraph with a description of your changes and rationale. Provide links to external references/discussions if appropriate.

Resolves SR-NNNN.

CC: @Rostepher @edymtt @xiaobai

@swift-ci please smoke test

This looks good to me. We could also probably just delete this option entirely!

Yes, that is the plan for all the "deprecated" options.

authors: Rostepher compnerd


text:
tensorflow-0.11updated -> tensorflow-0.11

the updated branches do not seem to exist anymore

@garymm, Thank you for this!

authors: ematejska garymm


text:
[5.5] SILModule: track opened archetypes per function.

In theory we could map opened archetypes per module because opened archetypes should be unique across the module.
But currently in some rare cases SILGen re-uses the same opened archetype in multiple functions.
The fix is to add the SILFunction to the map's key.
That also requires that we update the map whenever instructions are moved from one function to another.
This fixes a compiler crash.
rdar://76916931

@swift-ci test


text:
Add DifferentiableProgrammingImplementation.md to docs/README.md

The new document has not yet been added. Currently, only DifferentiableProgramming.md is in there.

Thanks
@swift-ci smoke test

@swift-ci smoke test macOS platform

@swift-ci smoke test macOS platform

authors: CodaFi philipturner


text:
[swiftc (68 vs. 5162)] Add crasher in swift::TypeChecker::validateDecl(...)

Add test case for crash triggered in swift::TypeChecker::validateDecl(...).
Current number of unresolved compiler crashers: 68 (5162 resolved)
Assertion failure in include/swift/AST/DiagnosticEngine.h (line 614):
Assertion `!ActiveDiagnostic && "Already have an active diagnostic"' failed.

When executing: swift::InFlightDiagnostic swift::DiagnosticEngine::diagnose(swift::SourceLoc, Diag<ArgTypes...>, typename detail::PassArgument<ArgTypes>::type...) [ArgTypes = <swift::Identifier>]

Assertion context:
    /// the types expected by the diagnostic \p ID.
    template<typename ...ArgTypes>
    InFlightDiagnostic
    diagnose(SourceLoc Loc, Diag<ArgTypes...> ID,
             typename detail::PassArgument<ArgTypes>::type... Args) {
      assert(!ActiveDiagnostic && "Already have an active diagnostic");
      ActiveDiagnostic = Diagnostic(ID, std::move(Args)...);
      ActiveDiagnostic->setLoc(Loc);
      return InFlightDiagnostic(*this);
    }

Stack trace:
swift: /path/to/swift/include/swift/AST/DiagnosticEngine.h:614: swift::InFlightDiagnostic swift::DiagnosticEngine::diagnose(swift::SourceLoc, Diag<ArgTypes...>, typename detail::PassArgument<ArgTypes>::type...) [ArgTypes = <swift::Identifier>]: Assertion `!ActiveDiagnostic && "Already have an active diagnostic"' failed.
9  swift           0x0000000000eda3e1 swift::TypeChecker::validateDecl(swift::ValueDecl*, bool) + 3905
10 swift           0x000000000115029b swift::DeclContext::lookupQualified(swift::Type, swift::DeclName, swift::NLOptions, swift::LazyResolver*, llvm::SmallVectorImpl<swift::ValueDecl*>&) const + 2667
11 swift           0x000000000114eabe swift::UnqualifiedLookup::UnqualifiedLookup(swift::DeclName, swift::DeclContext*, swift::LazyResolver*, bool, swift::SourceLoc, bool, bool) + 4990
12 swift           0x0000000000f1e153 swift::TypeChecker::lookupUnqualified(swift::DeclContext*, swift::DeclName, swift::SourceLoc, swift::OptionSet<swift::NameLookupFlags, unsigned int>) + 99
15 swift           0x0000000000f51cb2 swift::TypeChecker::resolveIdentifierType(swift::DeclContext*, swift::IdentTypeRepr*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, bool, swift::GenericTypeResolver*, llvm::function_ref<bool (swift::TypeCheckRequest)>*) + 162
17 swift           0x0000000000f52d54 swift::TypeChecker::resolveType(swift::TypeRepr*, swift::DeclContext*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, swift::GenericTypeResolver*, llvm::function_ref<bool (swift::TypeCheckRequest)>*) + 164
18 swift           0x0000000000f514e3 swift::TypeChecker::validateType(swift::TypeLoc&, swift::DeclContext*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, swift::GenericTypeResolver*, llvm::function_ref<bool (swift::TypeCheckRequest)>*) + 195
21 swift           0x0000000000eda1e2 swift::TypeChecker::validateDecl(swift::ValueDecl*, bool) + 3394
22 swift           0x000000000115029b swift::DeclContext::lookupQualified(swift::Type, swift::DeclName, swift::NLOptions, swift::LazyResolver*, llvm::SmallVectorImpl<swift::ValueDecl*>&) const + 2667
23 swift           0x0000000000f1eed1 swift::TypeChecker::lookupMemberType(swift::DeclContext*, swift::Type, swift::Identifier, swift::OptionSet<swift::NameLookupFlags, unsigned int>) + 289
24 swift           0x0000000000fdd1ad swift::constraints::ConstraintSystem::performMemberLookup(swift::constraints::ConstraintKind, swift::DeclName, swift::Type, swift::FunctionRefKind, swift::constraints::ConstraintLocator*, bool) + 2413
25 swift           0x0000000000fdef9b swift::constraints::ConstraintSystem::simplifyMemberConstraint(swift::constraints::Constraint const&) + 491
26 swift           0x0000000000fe0105 swift::constraints::ConstraintSystem::simplifyConstraint(swift::constraints::Constraint const&) + 69
27 swift           0x0000000000fea7db swift::constraints::ConstraintSystem::solveSimplified(llvm::SmallVectorImpl<swift::constraints::Solution>&, swift::FreeTypeVariableBinding) + 12235
28 swift           0x0000000000fe4ec3 swift::constraints::ConstraintSystem::solveRec(llvm::SmallVectorImpl<swift::constraints::Solution>&, swift::FreeTypeVariableBinding) + 323
29 swift           0x0000000000fe48e9 swift::constraints::ConstraintSystem::solve(llvm::SmallVectorImpl<swift::constraints::Solution>&, swift::FreeTypeVariableBinding) + 73
30 swift           0x0000000000fe481b swift::constraints::ConstraintSystem::solveSingle(swift::FreeTypeVariableBinding) + 59
31 swift           0x0000000000fc1c77 swift::checkMemberType(swift::DeclContext&, swift::Type, llvm::ArrayRef<swift::Identifier>) + 487
33 swift           0x000000000116b3c3 swift::Type::transform(llvm::function_ref<swift::Type (swift::Type)>) const + 35
38 swift           0x00000000010715f6 swift::Decl::print(swift::ASTPrinter&, swift::PrintOptions const&) const + 54
42 swift           0x0000000000f28a57 swift::TypeChecker::checkConformance(swift::NormalProtocolConformance*) + 2103
43 swift           0x0000000000f28f67 swift::TypeChecker::checkConformancesInContext(swift::DeclContext*, swift::IterableDeclContext*) + 487
50 swift           0x0000000000edfc26 swift::TypeChecker::typeCheckDecl(swift::Decl*, bool) + 150
53 swift           0x0000000000f4b744 swift::TypeChecker::typeCheckClosureBody(swift::ClosureExpr*) + 244
54 swift           0x0000000000f78aec swift::constraints::ConstraintSystem::applySolution(swift::constraints::Solution&, swift::Expr*, swift::Type, bool, bool, bool) + 876
55 swift           0x0000000000ec9506 swift::TypeChecker::typeCheckExpression(swift::Expr*&, swift::DeclContext*, swift::TypeLoc, swift::ContextualTypePurpose, swift::OptionSet<swift::TypeCheckExprFlags, unsigned int>, swift::ExprTypeCheckListener*, swift::constraints::ConstraintSystem*) + 1126
57 swift           0x0000000000f4b886 swift::TypeChecker::typeCheckTopLevelCodeDecl(swift::TopLevelCodeDecl*) + 134
58 swift           0x0000000000f0452d swift::performTypeChecking(swift::SourceFile&, swift::TopLevelContext&, swift::OptionSet<swift::TypeCheckingFlags, unsigned int>, unsigned int, unsigned int) + 1133
59 swift           0x0000000000c86e69 swift::CompilerInstance::performSema() + 3289
61 swift           0x00000000007e0947 swift::performFrontend(llvm::ArrayRef<char const*>, char const*, void*, swift::FrontendObserver*) + 2887
62 swift           0x00000000007a8e08 main + 2984
Stack dump:
0.	Program arguments: /path/to/swift/bin/swift -frontend -c -primary-file validation-test/compiler_crashers/28418-swift-typechecker-validatedecl.swift -target x86_64-unknown-linux-gnu -disable-objc-interop -module-name main -o /tmp/28418-swift-typechecker-validatedecl-77c362.o
1.	While type-checking expression at [validation-test/compiler_crashers/28418-swift-typechecker-validatedecl.swift:10:1 - line:14:13] RangeText="{protocol P{
2.	While type-checking 'P' at validation-test/compiler_crashers/28418-swift-typechecker-validatedecl.swift:10:2
3.	While type-checking 'e' at validation-test/compiler_crashers/28418-swift-typechecker-validatedecl.swift:14:1
4.	While resolving type e at [validation-test/compiler_crashers/28418-swift-typechecker-validatedecl.swift:14:13 - line:14:13] RangeText="e"
<unknown>:0: error: unable to execute command: Aborted
<unknown>:0: error: compile command failed due to signal (use -v to see invocation)

@swift-ci please smoke test and merge


text:
[swiftc (103 vs. 5183)] Add crasher in swift::ConformanceLookupTable::updateLookupTable

Add test case for crash triggered in swift::ConformanceLookupTable::updateLookupTable.
Current number of unresolved compiler crashers: 103 (5183 resolved)
Stack trace:
#0 0x00000000031cec28 llvm::sys::PrintStackTrace(llvm::raw_ostream&) (/path/to/swift/bin/swift+0x31cec28)
#1 0x00000000031cf476 SignalHandler(int) (/path/to/swift/bin/swift+0x31cf476)
#2 0x00007fd8c74b5330 __restore_rt (/lib/x86_64-linux-gnu/libpthread.so.0+0x10330)
#3 0x0000000000df0f24 swift::ConformanceLookupTable::updateLookupTable(swift::NominalTypeDecl*, swift::ConformanceLookupTable::ConformanceStage, swift::LazyResolver*) (/path/to/swift/bin/swift+0xdf0f24)
#4 0x0000000000df0861 swift::ConformanceLookupTable::updateLookupTable(swift::NominalTypeDecl*, swift::ConformanceLookupTable::ConformanceStage, swift::LazyResolver*) (/path/to/swift/bin/swift+0xdf0861)
#5 0x0000000000df0e04 swift::ConformanceLookupTable::updateLookupTable(swift::NominalTypeDecl*, swift::ConformanceLookupTable::ConformanceStage, swift::LazyResolver*) (/path/to/swift/bin/swift+0xdf0e04)
#6 0x0000000000df432e swift::ConformanceLookupTable::getAllProtocols(swift::NominalTypeDecl*, swift::LazyResolver*, llvm::SmallVectorImpl<swift::ProtocolDecl*>&) (/path/to/swift/bin/swift+0xdf432e)
#7 0x0000000000dd2fcf swift::NominalTypeDecl::getAllProtocols() const (/path/to/swift/bin/swift+0xdd2fcf)
#8 0x0000000000dc77eb swift::DeclContext::lookupQualified(swift::Type, swift::DeclName, swift::NLOptions, swift::LazyResolver*, llvm::SmallVectorImpl<swift::ValueDecl*>&) const (/path/to/swift/bin/swift+0xdc77eb)
#9 0x0000000000bcfe82 swift::TypeChecker::lookupMemberType(swift::DeclContext*, swift::Type, swift::Identifier, swift::OptionSet<swift::NameLookupFlags, unsigned int>) (/path/to/swift/bin/swift+0xbcfe82)
#10 0x0000000000c08070 resolveIdentTypeComponent(swift::TypeChecker&, swift::DeclContext*, llvm::ArrayRef<swift::ComponentIdentTypeRepr*>, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, bool, swift::GenericTypeResolver*, llvm::function_ref<bool (swift::TypeCheckRequest)>*) (/path/to/swift/bin/swift+0xc08070)
#11 0x0000000000c079cd swift::TypeChecker::resolveIdentifierType(swift::DeclContext*, swift::IdentTypeRepr*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, bool, swift::GenericTypeResolver*, llvm::function_ref<bool (swift::TypeCheckRequest)>*) (/path/to/swift/bin/swift+0xc079cd)
#12 0x0000000000c08ae8 (anonymous namespace)::TypeResolver::resolveType(swift::TypeRepr*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>) (/path/to/swift/bin/swift+0xc08ae8)
#13 0x0000000000c089df swift::TypeChecker::resolveType(swift::TypeRepr*, swift::DeclContext*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, swift::GenericTypeResolver*, llvm::function_ref<bool (swift::TypeCheckRequest)>*) (/path/to/swift/bin/swift+0xc089df)
#14 0x0000000000c07169 swift::TypeChecker::validateType(swift::TypeLoc&, swift::DeclContext*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, swift::GenericTypeResolver*, llvm::function_ref<bool (swift::TypeCheckRequest)>*) (/path/to/swift/bin/swift+0xc07169)
#15 0x0000000000bd21f9 validateParameterType(swift::ParamDecl*, swift::DeclContext*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, swift::GenericTypeResolver*, swift::TypeChecker&) (/path/to/swift/bin/swift+0xbd21f9)
#16 0x0000000000bd208b swift::TypeChecker::typeCheckParameterList(swift::ParameterList*, swift::DeclContext*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, swift::GenericTypeResolver*) (/path/to/swift/bin/swift+0xbd208b)
#17 0x0000000000bcb8e1 checkGenericFuncSignature(swift::TypeChecker&, swift::ArchetypeBuilder*, swift::AbstractFunctionDecl*, swift::GenericTypeResolver&) (/path/to/swift/bin/swift+0xbcb8e1)
#18 0x0000000000bcb578 swift::TypeChecker::validateGenericFuncSignature(swift::AbstractFunctionDecl*) (/path/to/swift/bin/swift+0xbcb578)
#19 0x0000000000baee11 (anonymous namespace)::DeclChecker::visitFuncDecl(swift::FuncDecl*) (/path/to/swift/bin/swift+0xbaee11)
#20 0x0000000000ba2316 (anonymous namespace)::DeclChecker::visit(swift::Decl*) (/path/to/swift/bin/swift+0xba2316)
#21 0x0000000000b9c02a swift::TypeChecker::validateDecl(swift::ValueDecl*, bool) (/path/to/swift/bin/swift+0xb9c02a)
#22 0x0000000000bdd14e swift::TypeChecker::resolveWitness(swift::NormalProtocolConformance const*, swift::ValueDecl*) (/path/to/swift/bin/swift+0xbdd14e)
#23 0x0000000000dd1d0c swift::NormalProtocolConformance::getWitness(swift::ValueDecl*, swift::LazyResolver*) const (/path/to/swift/bin/swift+0xdd1d0c)
#24 0x0000000000bcf568 (anonymous namespace)::LookupResultBuilder::add(swift::ValueDecl*, swift::ValueDecl*, swift::Type) (/path/to/swift/bin/swift+0xbcf568)
#25 0x0000000000bcfcf9 swift::TypeChecker::lookupMember(swift::DeclContext*, swift::Type, swift::DeclName, swift::OptionSet<swift::NameLookupFlags, unsigned int>)::$_1::operator()() const (/path/to/swift/bin/swift+0xbcfcf9)
#26 0x0000000000bcfae4 swift::TypeChecker::lookupMember(swift::DeclContext*, swift::Type, swift::DeclName, swift::OptionSet<swift::NameLookupFlags, unsigned int>) (/path/to/swift/bin/swift+0xbcfae4)
#27 0x0000000000c10c98 diagnoseUnknownType(swift::TypeChecker&, swift::DeclContext*, swift::Type, swift::SourceRange, swift::ComponentIdentTypeRepr*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, swift::OptionSet<swift::NameLookupFlags, unsigned int>, swift::GenericTypeResolver*, llvm::function_ref<bool (swift::TypeCheckRequest)>*) (/path/to/swift/bin/swift+0xc10c98)
#28 0x0000000000c0828a resolveIdentTypeComponent(swift::TypeChecker&, swift::DeclContext*, llvm::ArrayRef<swift::ComponentIdentTypeRepr*>, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, bool, swift::GenericTypeResolver*, llvm::function_ref<bool (swift::TypeCheckRequest)>*) (/path/to/swift/bin/swift+0xc0828a)
#29 0x0000000000c079cd swift::TypeChecker::resolveIdentifierType(swift::DeclContext*, swift::IdentTypeRepr*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, bool, swift::GenericTypeResolver*, llvm::function_ref<bool (swift::TypeCheckRequest)>*) (/path/to/swift/bin/swift+0xc079cd)
#30 0x0000000000c08ae8 (anonymous namespace)::TypeResolver::resolveType(swift::TypeRepr*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>) (/path/to/swift/bin/swift+0xc08ae8)
#31 0x0000000000c089df swift::TypeChecker::resolveType(swift::TypeRepr*, swift::DeclContext*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, swift::GenericTypeResolver*, llvm::function_ref<bool (swift::TypeCheckRequest)>*) (/path/to/swift/bin/swift+0xc089df)
#32 0x0000000000c07169 swift::TypeChecker::validateType(swift::TypeLoc&, swift::DeclContext*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, swift::GenericTypeResolver*, llvm::function_ref<bool (swift::TypeCheckRequest)>*) (/path/to/swift/bin/swift+0xc07169)
#33 0x0000000000bd21f9 validateParameterType(swift::ParamDecl*, swift::DeclContext*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, swift::GenericTypeResolver*, swift::TypeChecker&) (/path/to/swift/bin/swift+0xbd21f9)
#34 0x0000000000bd208b swift::TypeChecker::typeCheckParameterList(swift::ParameterList*, swift::DeclContext*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, swift::GenericTypeResolver*) (/path/to/swift/bin/swift+0xbd208b)
#35 0x0000000000bcb8e1 checkGenericFuncSignature(swift::TypeChecker&, swift::ArchetypeBuilder*, swift::AbstractFunctionDecl*, swift::GenericTypeResolver&) (/path/to/swift/bin/swift+0xbcb8e1)
#36 0x0000000000bcb578 swift::TypeChecker::validateGenericFuncSignature(swift::AbstractFunctionDecl*) (/path/to/swift/bin/swift+0xbcb578)
#37 0x0000000000baee11 (anonymous namespace)::DeclChecker::visitFuncDecl(swift::FuncDecl*) (/path/to/swift/bin/swift+0xbaee11)
#38 0x0000000000ba2316 (anonymous namespace)::DeclChecker::visit(swift::Decl*) (/path/to/swift/bin/swift+0xba2316)
#39 0x0000000000b9c02a swift::TypeChecker::validateDecl(swift::ValueDecl*, bool) (/path/to/swift/bin/swift+0xb9c02a)
#40 0x0000000000bdd14e swift::TypeChecker::resolveWitness(swift::NormalProtocolConformance const*, swift::ValueDecl*) (/path/to/swift/bin/swift+0xbdd14e)
#41 0x0000000000dd1d0c swift::NormalProtocolConformance::getWitness(swift::ValueDecl*, swift::LazyResolver*) const (/path/to/swift/bin/swift+0xdd1d0c)
#42 0x0000000000bcf568 (anonymous namespace)::LookupResultBuilder::add(swift::ValueDecl*, swift::ValueDecl*, swift::Type) (/path/to/swift/bin/swift+0xbcf568)
#43 0x0000000000bcfcf9 swift::TypeChecker::lookupMember(swift::DeclContext*, swift::Type, swift::DeclName, swift::OptionSet<swift::NameLookupFlags, unsigned int>)::$_1::operator()() const (/path/to/swift/bin/swift+0xbcfcf9)
#44 0x0000000000bcfae4 swift::TypeChecker::lookupMember(swift::DeclContext*, swift::Type, swift::DeclName, swift::OptionSet<swift::NameLookupFlags, unsigned int>) (/path/to/swift/bin/swift+0xbcfae4)
#45 0x0000000000c10c98 diagnoseUnknownType(swift::TypeChecker&, swift::DeclContext*, swift::Type, swift::SourceRange, swift::ComponentIdentTypeRepr*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, swift::OptionSet<swift::NameLookupFlags, unsigned int>, swift::GenericTypeResolver*, llvm::function_ref<bool (swift::TypeCheckRequest)>*) (/path/to/swift/bin/swift+0xc10c98)
#46 0x0000000000c0828a resolveIdentTypeComponent(swift::TypeChecker&, swift::DeclContext*, llvm::ArrayRef<swift::ComponentIdentTypeRepr*>, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, bool, swift::GenericTypeResolver*, llvm::function_ref<bool (swift::TypeCheckRequest)>*) (/path/to/swift/bin/swift+0xc0828a)
#47 0x0000000000c079cd swift::TypeChecker::resolveIdentifierType(swift::DeclContext*, swift::IdentTypeRepr*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, bool, swift::GenericTypeResolver*, llvm::function_ref<bool (swift::TypeCheckRequest)>*) (/path/to/swift/bin/swift+0xc079cd)
#48 0x0000000000c08ae8 (anonymous namespace)::TypeResolver::resolveType(swift::TypeRepr*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>) (/path/to/swift/bin/swift+0xc08ae8)
#49 0x0000000000c089df swift::TypeChecker::resolveType(swift::TypeRepr*, swift::DeclContext*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, swift::GenericTypeResolver*, llvm::function_ref<bool (swift::TypeCheckRequest)>*) (/path/to/swift/bin/swift+0xc089df)
#50 0x0000000000c07169 swift::TypeChecker::validateType(swift::TypeLoc&, swift::DeclContext*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, swift::GenericTypeResolver*, llvm::function_ref<bool (swift::TypeCheckRequest)>*) (/path/to/swift/bin/swift+0xc07169)
#51 0x0000000000bd21f9 validateParameterType(swift::ParamDecl*, swift::DeclContext*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, swift::GenericTypeResolver*, swift::TypeChecker&) (/path/to/swift/bin/swift+0xbd21f9)
#52 0x0000000000bd208b swift::TypeChecker::typeCheckParameterList(swift::ParameterList*, swift::DeclContext*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, swift::GenericTypeResolver*) (/path/to/swift/bin/swift+0xbd208b)
#53 0x0000000000bcb8e1 checkGenericFuncSignature(swift::TypeChecker&, swift::ArchetypeBuilder*, swift::AbstractFunctionDecl*, swift::GenericTypeResolver&) (/path/to/swift/bin/swift+0xbcb8e1)
#54 0x0000000000bcb578 swift::TypeChecker::validateGenericFuncSignature(swift::AbstractFunctionDecl*) (/path/to/swift/bin/swift+0xbcb578)
#55 0x0000000000baee11 (anonymous namespace)::DeclChecker::visitFuncDecl(swift::FuncDecl*) (/path/to/swift/bin/swift+0xbaee11)
#56 0x0000000000ba2316 (anonymous namespace)::DeclChecker::visit(swift::Decl*) (/path/to/swift/bin/swift+0xba2316)
#57 0x0000000000b9c02a swift::TypeChecker::validateDecl(swift::ValueDecl*, bool) (/path/to/swift/bin/swift+0xb9c02a)
#58 0x0000000000bdd14e swift::TypeChecker::resolveWitness(swift::NormalProtocolConformance const*, swift::ValueDecl*) (/path/to/swift/bin/swift+0xbdd14e)
#59 0x0000000000dd1d0c swift::NormalProtocolConformance::getWitness(swift::ValueDecl*, swift::LazyResolver*) const (/path/to/swift/bin/swift+0xdd1d0c)
#60 0x0000000000bcf568 (anonymous namespace)::LookupResultBuilder::add(swift::ValueDecl*, swift::ValueDecl*, swift::Type) (/path/to/swift/bin/swift+0xbcf568)
#61 0x0000000000bcfcf9 swift::TypeChecker::lookupMember(swift::DeclContext*, swift::Type, swift::DeclName, swift::OptionSet<swift::NameLookupFlags, unsigned int>)::$_1::operator()() const (/path/to/swift/bin/swift+0xbcfcf9)
#62 0x0000000000bcfae4 swift::TypeChecker::lookupMember(swift::DeclContext*, swift::Type, swift::DeclName, swift::OptionSet<swift::NameLookupFlags, unsigned int>) (/path/to/swift/bin/swift+0xbcfae4)
#63 0x0000000000c10c98 diagnoseUnknownType(swift::TypeChecker&, swift::DeclContext*, swift::Type, swift::SourceRange, swift::ComponentIdentTypeRepr*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, swift::OptionSet<swift::NameLookupFlags, unsigned int>, swift::GenericTypeResolver*, llvm::function_ref<bool (swift::TypeCheckRequest)>*) (/path/to/swift/bin/swift+0xc10c98)
#64 0x0000000000c0828a resolveIdentTypeComponent(swift::TypeChecker&, swift::DeclContext*, llvm::ArrayRef<swift::ComponentIdentTypeRepr*>, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, bool, swift::GenericTypeResolver*, llvm::function_ref<bool (swift::TypeCheckRequest)>*) (/path/to/swift/bin/swift+0xc0828a)
#65 0x0000000000c079cd swift::TypeChecker::resolveIdentifierType(swift::DeclContext*, swift::IdentTypeRepr*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, bool, swift::GenericTypeResolver*, llvm::function_ref<bool (swift::TypeCheckRequest)>*) (/path/to/swift/bin/swift+0xc079cd)
#66 0x0000000000c08ae8 (anonymous namespace)::TypeResolver::resolveType(swift::TypeRepr*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>) (/path/to/swift/bin/swift+0xc08ae8)
#67 0x0000000000c089df swift::TypeChecker::resolveType(swift::TypeRepr*, swift::DeclContext*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, swift::GenericTypeResolver*, llvm::function_ref<bool (swift::TypeCheckRequest)>*) (/path/to/swift/bin/swift+0xc089df)
#68 0x0000000000c07169 swift::TypeChecker::validateType(swift::TypeLoc&, swift::DeclContext*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, swift::GenericTypeResolver*, llvm::function_ref<bool (swift::TypeCheckRequest)>*) (/path/to/swift/bin/swift+0xc07169)
#69 0x0000000000bd21f9 validateParameterType(swift::ParamDecl*, swift::DeclContext*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, swift::GenericTypeResolver*, swift::TypeChecker&) (/path/to/swift/bin/swift+0xbd21f9)
#70 0x0000000000bd208b swift::TypeChecker::typeCheckParameterList(swift::ParameterList*, swift::DeclContext*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, swift::GenericTypeResolver*) (/path/to/swift/bin/swift+0xbd208b)
#71 0x0000000000bcb8e1 checkGenericFuncSignature(swift::TypeChecker&, swift::ArchetypeBuilder*, swift::AbstractFunctionDecl*, swift::GenericTypeResolver&) (/path/to/swift/bin/swift+0xbcb8e1)
#72 0x0000000000bcb578 swift::TypeChecker::validateGenericFuncSignature(swift::AbstractFunctionDecl*) (/path/to/swift/bin/swift+0xbcb578)
#73 0x0000000000baee11 (anonymous namespace)::DeclChecker::visitFuncDecl(swift::FuncDecl*) (/path/to/swift/bin/swift+0xbaee11)
#74 0x0000000000ba2316 (anonymous namespace)::DeclChecker::visit(swift::Decl*) (/path/to/swift/bin/swift+0xba2316)
#75 0x0000000000b9c02a swift::TypeChecker::validateDecl(swift::ValueDecl*, bool) (/path/to/swift/bin/swift+0xb9c02a)
#76 0x0000000000bdd14e swift::TypeChecker::resolveWitness(swift::NormalProtocolConformance const*, swift::ValueDecl*) (/path/to/swift/bin/swift+0xbdd14e)
#77 0x0000000000dd1d0c swift::NormalProtocolConformance::getWitness(swift::ValueDecl*, swift::LazyResolver*) const (/path/to/swift/bin/swift+0xdd1d0c)
#78 0x0000000000bcf568 (anonymous namespace)::LookupResultBuilder::add(swift::ValueDecl*, swift::ValueDecl*, swift::Type) (/path/to/swift/bin/swift+0xbcf568)
#79 0x0000000000bcfcf9 swift::TypeChecker::lookupMember(swift::DeclContext*, swift::Type, swift::DeclName, swift::OptionSet<swift::NameLookupFlags, unsigned int>)::$_1::operator()() const (/path/to/swift/bin/swift+0xbcfcf9)
#80 0x0000000000bcfae4 swift::TypeChecker::lookupMember(swift::DeclContext*, swift::Type, swift::DeclName, swift::OptionSet<swift::NameLookupFlags, unsigned int>) (/path/to/swift/bin/swift+0xbcfae4)
#81 0x0000000000c10c98 diagnoseUnknownType(swift::TypeChecker&, swift::DeclContext*, swift::Type, swift::SourceRange, swift::ComponentIdentTypeRepr*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, swift::OptionSet<swift::NameLookupFlags, unsigned int>, swift::GenericTypeResolver*, llvm::function_ref<bool (swift::TypeCheckRequest)>*) (/path/to/swift/bin/swift+0xc10c98)
#82 0x0000000000c0828a resolveIdentTypeComponent(swift::TypeChecker&, swift::DeclContext*, llvm::ArrayRef<swift::ComponentIdentTypeRepr*>, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, bool, swift::GenericTypeResolver*, llvm::function_ref<bool (swift::TypeCheckRequest)>*) (/path/to/swift/bin/swift+0xc0828a)
#83 0x0000000000c079cd swift::TypeChecker::resolveIdentifierType(swift::DeclContext*, swift::IdentTypeRepr*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, bool, swift::GenericTypeResolver*, llvm::function_ref<bool (swift::TypeCheckRequest)>*) (/path/to/swift/bin/swift+0xc079cd)
#84 0x0000000000c08ae8 (anonymous namespace)::TypeResolver::resolveType(swift::TypeRepr*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>) (/path/to/swift/bin/swift+0xc08ae8)
#85 0x0000000000c089df swift::TypeChecker::resolveType(swift::TypeRepr*, swift::DeclContext*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, swift::GenericTypeResolver*, llvm::function_ref<bool (swift::TypeCheckRequest)>*) (/path/to/swift/bin/swift+0xc089df)
#86 0x0000000000c07169 swift::TypeChecker::validateType(swift::TypeLoc&, swift::DeclContext*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, swift::GenericTypeResolver*, llvm::function_ref<bool (swift::TypeCheckRequest)>*) (/path/to/swift/bin/swift+0xc07169)
#87 0x0000000000bd21f9 validateParameterType(swift::ParamDecl*, swift::DeclContext*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, swift::GenericTypeResolver*, swift::TypeChecker&) (/path/to/swift/bin/swift+0xbd21f9)
#88 0x0000000000bd208b swift::TypeChecker::typeCheckParameterList(swift::ParameterList*, swift::DeclContext*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, swift::GenericTypeResolver*) (/path/to/swift/bin/swift+0xbd208b)
#89 0x0000000000bcb8e1 checkGenericFuncSignature(swift::TypeChecker&, swift::ArchetypeBuilder*, swift::AbstractFunctionDecl*, swift::GenericTypeResolver&) (/path/to/swift/bin/swift+0xbcb8e1)
#90 0x0000000000bcb578 swift::TypeChecker::validateGenericFuncSignature(swift::AbstractFunctionDecl*) (/path/to/swift/bin/swift+0xbcb578)
#91 0x0000000000baee11 (anonymous namespace)::DeclChecker::visitFuncDecl(swift::FuncDecl*) (/path/to/swift/bin/swift+0xbaee11)
#92 0x0000000000ba2316 (anonymous namespace)::DeclChecker::visit(swift::Decl*) (/path/to/swift/bin/swift+0xba2316)
#93 0x0000000000b9c02a swift::TypeChecker::validateDecl(swift::ValueDecl*, bool) (/path/to/swift/bin/swift+0xb9c02a)
#94 0x0000000000bdd14e swift::TypeChecker::resolveWitness(swift::NormalProtocolConformance const*, swift::ValueDecl*) (/path/to/swift/bin/swift+0xbdd14e)
#95 0x0000000000dd1d0c swift::NormalProtocolConformance::getWitness(swift::ValueDecl*, swift::LazyResolver*) const (/path/to/swift/bin/swift+0xdd1d0c)
#96 0x0000000000bcf568 (anonymous namespace)::LookupResultBuilder::add(swift::ValueDecl*, swift::ValueDecl*, swift::Type) (/path/to/swift/bin/swift+0xbcf568)
#97 0x0000000000bcfcf9 swift::TypeChecker::lookupMember(swift::DeclContext*, swift::Type, swift::DeclName, swift::OptionSet<swift::NameLookupFlags, unsigned int>)::$_1::operator()() const (/path/to/swift/bin/swift+0xbcfcf9)
#98 0x0000000000bcfae4 swift::TypeChecker::lookupMember(swift::DeclContext*, swift::Type, swift::DeclName, swift::OptionSet<swift::NameLookupFlags, unsigned int>) (/path/to/swift/bin/swift+0xbcfae4)
#99 0x0000000000c10c98 diagnoseUnknownType(swift::TypeChecker&, swift::DeclContext*, swift::Type, swift::SourceRange, swift::ComponentIdentTypeRepr*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, swift::OptionSet<swift::NameLookupFlags, unsigned int>, swift::GenericTypeResolver*, llvm::function_ref<bool (swift::TypeCheckRequest)>*) (/path/to/swift/bin/swift+0xc10c98)
#100 0x0000000000c0828a resolveIdentTypeComponent(swift::TypeChecker&, swift::DeclContext*, llvm::ArrayRef<swift::ComponentIdentTypeRepr*>, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, bool, swift::GenericTypeResolver*, llvm::function_ref<bool (swift::TypeCheckRequest)>*) (/path/to/swift/bin/swift+0xc0828a)
#101 0x0000000000c079cd swift::TypeChecker::resolveIdentifierType(swift::DeclContext*, swift::IdentTypeRepr*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, bool, swift::GenericTypeResolver*, llvm::function_ref<bool (swift::TypeCheckRequest)>*) (/path/to/swift/bin/swift+0xc079cd)
#102 0x0000000000c08ae8 (anonymous namespace)::TypeResolver::resolveType(swift::TypeRepr*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>) (/path/to/swift/bin/swift+0xc08ae8)
#103 0x0000000000c089df swift::TypeChecker::resolveType(swift::TypeRepr*, swift::DeclContext*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, swift::GenericTypeResolver*, llvm::function_ref<bool (swift::TypeCheckRequest)>*) (/path/to/swift/bin/swift+0xc089df)
#104 0x0000000000c07169 swift::TypeChecker::validateType(swift::TypeLoc&, swift::DeclContext*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, swift::GenericTypeResolver*, llvm::function_ref<bool (swift::TypeCheckRequest)>*) (/path/to/swift/bin/swift+0xc07169)
#105 0x0000000000bd21f9 validateParameterType(swift::ParamDecl*, swift::DeclContext*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, swift::GenericTypeResolver*, swift::TypeChecker&) (/path/to/swift/bin/swift+0xbd21f9)
#106 0x0000000000bd208b swift::TypeChecker::typeCheckParameterList(swift::ParameterList*, swift::DeclContext*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, swift::GenericTypeResolver*) (/path/to/swift/bin/swift+0xbd208b)
#107 0x0000000000bcb8e1 checkGenericFuncSignature(swift::TypeChecker&, swift::ArchetypeBuilder*, swift::AbstractFunctionDecl*, swift::GenericTypeResolver&) (/path/to/swift/bin/swift+0xbcb8e1)
#108 0x0000000000bcb578 swift::TypeChecker::validateGenericFuncSignature(swift::AbstractFunctionDecl*) (/path/to/swift/bin/swift+0xbcb578)
#109 0x0000000000baee11 (anonymous namespace)::DeclChecker::visitFuncDecl(swift::FuncDecl*) (/path/to/swift/bin/swift+0xbaee11)
#110 0x0000000000ba2316 (anonymous namespace)::DeclChecker::visit(swift::Decl*) (/path/to/swift/bin/swift+0xba2316)
#111 0x0000000000b9c02a swift::TypeChecker::validateDecl(swift::ValueDecl*, bool) (/path/to/swift/bin/swift+0xb9c02a)
#112 0x0000000000bdd14e swift::TypeChecker::resolveWitness(swift::NormalProtocolConformance const*, swift::ValueDecl*) (/path/to/swift/bin/swift+0xbdd14e)
#113 0x0000000000dd1d0c swift::NormalProtocolConformance::getWitness(swift::ValueDecl*, swift::LazyResolver*) const (/path/to/swift/bin/swift+0xdd1d0c)
#114 0x0000000000bcf568 (anonymous namespace)::LookupResultBuilder::add(swift::ValueDecl*, swift::ValueDecl*, swift::Type) (/path/to/swift/bin/swift+0xbcf568)
#115 0x0000000000bcfcf9 swift::TypeChecker::lookupMember(swift::DeclContext*, swift::Type, swift::DeclName, swift::OptionSet<swift::NameLookupFlags, unsigned int>)::$_1::operator()() const (/path/to/swift/bin/swift+0xbcfcf9)
#116 0x0000000000bcfae4 swift::TypeChecker::lookupMember(swift::DeclContext*, swift::Type, swift::DeclName, swift::OptionSet<swift::NameLookupFlags, unsigned int>) (/path/to/swift/bin/swift+0xbcfae4)
#117 0x0000000000c10c98 diagnoseUnknownType(swift::TypeChecker&, swift::DeclContext*, swift::Type, swift::SourceRange, swift::ComponentIdentTypeRepr*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, swift::OptionSet<swift::NameLookupFlags, unsigned int>, swift::GenericTypeResolver*, llvm::function_ref<bool (swift::TypeCheckRequest)>*) (/path/to/swift/bin/swift+0xc10c98)
#118 0x0000000000c0828a resolveIdentTypeComponent(swift::TypeChecker&, swift::DeclContext*, llvm::ArrayRef<swift::ComponentIdentTypeRepr*>, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, bool, swift::GenericTypeResolver*, llvm::function_ref<bool (swift::TypeCheckRequest)>*) (/path/to/swift/bin/swift+0xc0828a)
#119 0x0000000000c079cd swift::TypeChecker::resolveIdentifierType(swift::DeclContext*, swift::IdentTypeRepr*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, bool, swift::GenericTypeResolver*, llvm::function_ref<bool (swift::TypeCheckRequest)>*) (/path/to/swift/bin/swift+0xc079cd)
#120 0x0000000000c08ae8 (anonymous namespace)::TypeResolver::resolveType(swift::TypeRepr*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>) (/path/to/swift/bin/swift+0xc08ae8)
#121 0x0000000000c089df swift::TypeChecker::resolveType(swift::TypeRepr*, swift::DeclContext*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, swift::GenericTypeResolver*, llvm::function_ref<bool (swift::TypeCheckRequest)>*) (/path/to/swift/bin/swift+0xc089df)
#122 0x0000000000c07169 swift::TypeChecker::validateType(swift::TypeLoc&, swift::DeclContext*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, swift::GenericTypeResolver*, llvm::function_ref<bool (swift::TypeCheckRequest)>*) (/path/to/swift/bin/swift+0xc07169)
#123 0x0000000000bd21f9 validateParameterType(swift::ParamDecl*, swift::DeclContext*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, swift::GenericTypeResolver*, swift::TypeChecker&) (/path/to/swift/bin/swift+0xbd21f9)
#124 0x0000000000bd208b swift::TypeChecker::typeCheckParameterList(swift::ParameterList*, swift::DeclContext*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, swift::GenericTypeResolver*) (/path/to/swift/bin/swift+0xbd208b)
#125 0x0000000000bcb8e1 checkGenericFuncSignature(swift::TypeChecker&, swift::ArchetypeBuilder*, swift::AbstractFunctionDecl*, swift::GenericTypeResolver&) (/path/to/swift/bin/swift+0xbcb8e1)
#126 0x0000000000bcb578 swift::TypeChecker::validateGenericFuncSignature(swift::AbstractFunctionDecl*) (/path/to/swift/bin/swift+0xbcb578)
#127 0x0000000000baee11 (anonymous namespace)::DeclChecker::visitFuncDecl(swift::FuncDecl*) (/path/to/swift/bin/swift+0xbaee11)
#128 0x0000000000ba2316 (anonymous namespace)::DeclChecker::visit(swift::Decl*) (/path/to/swift/bin/swift+0xba2316)
#129 0x0000000000b9c02a swift::TypeChecker::validateDecl(swift::ValueDecl*, bool) (/path/to/swift/bin/swift+0xb9c02a)
#130 0x0000000000bdd14e swift::TypeChecker::resolveWitness(swift::NormalProtocolConformance const*, swift::ValueDecl*) (/path/to/swift/bin/swift+0xbdd14e)
#131 0x0000000000dd1d0c swift::NormalProtocolConformance::getWitness(swift::ValueDecl*, swift::LazyResolver*) const (/path/to/swift/bin/swift+0xdd1d0c)
#132 0x0000000000bcf568 (anonymous namespace)::LookupResultBuilder::add(swift::ValueDecl*, swift::ValueDecl*, swift::Type) (/path/to/swift/bin/swift+0xbcf568)
#133 0x0000000000bcfcf9 swift::TypeChecker::lookupMember(swift::DeclContext*, swift::Type, swift::DeclName, swift::OptionSet<swift::NameLookupFlags, unsigned int>)::$_1::operator()() const (/path/to/swift/bin/swift+0xbcfcf9)
#134 0x0000000000bcfae4 swift::TypeChecker::lookupMember(swift::DeclContext*, swift::Type, swift::DeclName, swift::OptionSet<swift::NameLookupFlags, unsigned int>) (/path/to/swift/bin/swift+0xbcfae4)
#135 0x0000000000c10c98 diagnoseUnknownType(swift::TypeChecker&, swift::DeclContext*, swift::Type, swift::SourceRange, swift::ComponentIdentTypeRepr*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, swift::OptionSet<swift::NameLookupFlags, unsigned int>, swift::GenericTypeResolver*, llvm::function_ref<bool (swift::TypeCheckRequest)>*) (/path/to/swift/bin/swift+0xc10c98)
#136 0x0000000000c0828a resolveIdentTypeComponent(swift::TypeChecker&, swift::DeclContext*, llvm::ArrayRef<swift::ComponentIdentTypeRepr*>, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, bool, swift::GenericTypeResolver*, llvm::function_ref<bool (swift::TypeCheckRequest)>*) (/path/to/swift/bin/swift+0xc0828a)
#137 0x0000000000c079cd swift::TypeChecker::resolveIdentifierType(swift::DeclContext*, swift::IdentTypeRepr*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, bool, swift::GenericTypeResolver*, llvm::function_ref<bool (swift::TypeCheckRequest)>*) (/path/to/swift/bin/swift+0xc079cd)
#138 0x0000000000c08ae8 (anonymous namespace)::TypeResolver::resolveType(swift::TypeRepr*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>) (/path/to/swift/bin/swift+0xc08ae8)
#139 0x0000000000c089df swift::TypeChecker::resolveType(swift::TypeRepr*, swift::DeclContext*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, swift::GenericTypeResolver*, llvm::function_ref<bool (swift::TypeCheckRequest)>*) (/path/to/swift/bin/swift+0xc089df)
#140 0x0000000000c07169 swift::TypeChecker::validateType(swift::TypeLoc&, swift::DeclContext*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, swift::GenericTypeResolver*, llvm::function_ref<bool (swift::TypeCheckRequest)>*) (/path/to/swift/bin/swift+0xc07169)
#141 0x0000000000bd21f9 validateParameterType(swift::ParamDecl*, swift::DeclContext*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, swift::GenericTypeResolver*, swift::TypeChecker&) (/path/to/swift/bin/swift+0xbd21f9)
#142 0x0000000000bd208b swift::TypeChecker::typeCheckParameterList(swift::ParameterList*, swift::DeclContext*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, swift::GenericTypeResolver*) (/path/to/swift/bin/swift+0xbd208b)
#143 0x0000000000bcb8e1 checkGenericFuncSignature(swift::TypeChecker&, swift::ArchetypeBuilder*, swift::AbstractFunctionDecl*, swift::GenericTypeResolver&) (/path/to/swift/bin/swift+0xbcb8e1)
#144 0x0000000000bcb578 swift::TypeChecker::validateGenericFuncSignature(swift::AbstractFunctionDecl*) (/path/to/swift/bin/swift+0xbcb578)
#145 0x0000000000baee11 (anonymous namespace)::DeclChecker::visitFuncDecl(swift::FuncDecl*) (/path/to/swift/bin/swift+0xbaee11)
#146 0x0000000000ba2316 (anonymous namespace)::DeclChecker::visit(swift::Decl*) (/path/to/swift/bin/swift+0xba2316)
#147 0x0000000000b9c02a swift::TypeChecker::validateDecl(swift::ValueDecl*, bool) (/path/to/swift/bin/swift+0xb9c02a)
#148 0x0000000000bdd14e swift::TypeChecker::resolveWitness(swift::NormalProtocolConformance const*, swift::ValueDecl*) (/path/to/swift/bin/swift+0xbdd14e)
#149 0x0000000000dd1d0c swift::NormalProtocolConformance::getWitness(swift::ValueDecl*, swift::LazyResolver*) const (/path/to/swift/bin/swift+0xdd1d0c)
#150 0x0000000000bcf568 (anonymous namespace)::LookupResultBuilder::add(swift::ValueDecl*, swift::ValueDecl*, swift::Type) (/path/to/swift/bin/swift+0xbcf568)
#151 0x0000000000bcfcf9 swift::TypeChecker::lookupMember(swift::DeclContext*, swift::Type, swift::DeclName, swift::OptionSet<swift::NameLookupFlags, unsigned int>)::$_1::operator()() const (/path/to/swift/bin/swift+0xbcfcf9)
#152 0x0000000000bcfae4 swift::TypeChecker::lookupMember(swift::DeclContext*, swift::Type, swift::DeclName, swift::OptionSet<swift::NameLookupFlags, unsigned int>) (/path/to/swift/bin/swift+0xbcfae4)
#153 0x0000000000c10c98 diagnoseUnknownType(swift::TypeChecker&, swift::DeclContext*, swift::Type, swift::SourceRange, swift::ComponentIdentTypeRepr*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, swift::OptionSet<swift::NameLookupFlags, unsigned int>, swift::GenericTypeResolver*, llvm::function_ref<bool (swift::TypeCheckRequest)>*) (/path/to/swift/bin/swift+0xc10c98)
#154 0x0000000000c0828a resolveIdentTypeComponent(swift::TypeChecker&, swift::DeclContext*, llvm::ArrayRef<swift::ComponentIdentTypeRepr*>, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, bool, swift::GenericTypeResolver*, llvm::function_ref<bool (swift::TypeCheckRequest)>*) (/path/to/swift/bin/swift+0xc0828a)
#155 0x0000000000c079cd swift::TypeChecker::resolveIdentifierType(swift::DeclContext*, swift::IdentTypeRepr*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, bool, swift::GenericTypeResolver*, llvm::function_ref<bool (swift::TypeCheckRequest)>*) (/path/to/swift/bin/swift+0xc079cd)
#156 0x0000000000c08ae8 (anonymous namespace)::TypeResolver::resolveType(swift::TypeRepr*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>) (/path/to/swift/bin/swift+0xc08ae8)
#157 0x0000000000c089df swift::TypeChecker::resolveType(swift::TypeRepr*, swift::DeclContext*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, swift::GenericTypeResolver*, llvm::function_ref<bool (swift::TypeCheckRequest)>*) (/path/to/swift/bin/swift+0xc089df)
#158 0x0000000000c07169 swift::TypeChecker::validateType(swift::TypeLoc&, swift::DeclContext*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, swift::GenericTypeResolver*, llvm::function_ref<bool (swift::TypeCheckRequest)>*) (/path/to/swift/bin/swift+0xc07169)
#159 0x0000000000bd21f9 validateParameterType(swift::ParamDecl*, swift::DeclContext*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, swift::GenericTypeResolver*, swift::TypeChecker&) (/path/to/swift/bin/swift+0xbd21f9)
#160 0x0000000000bd208b swift::TypeChecker::typeCheckParameterList(swift::ParameterList*, swift::DeclContext*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, swift::GenericTypeResolver*) (/path/to/swift/bin/swift+0xbd208b)
#161 0x0000000000bcb8e1 checkGenericFuncSignature(swift::TypeChecker&, swift::ArchetypeBuilder*, swift::AbstractFunctionDecl*, swift::GenericTypeResolver&) (/path/to/swift/bin/swift+0xbcb8e1)
#162 0x0000000000bcb578 swift::TypeChecker::validateGenericFuncSignature(swift::AbstractFunctionDecl*) (/path/to/swift/bin/swift+0xbcb578)
#163 0x0000000000baee11 (anonymous namespace)::DeclChecker::visitFuncDecl(swift::FuncDecl*) (/path/to/swift/bin/swift+0xbaee11)
#164 0x0000000000ba2316 (anonymous namespace)::DeclChecker::visit(swift::Decl*) (/path/to/swift/bin/swift+0xba2316)
#165 0x0000000000b9c02a swift::TypeChecker::validateDecl(swift::ValueDecl*, bool) (/path/to/swift/bin/swift+0xb9c02a)
#166 0x0000000000bdd14e swift::TypeChecker::resolveWitness(swift::NormalProtocolConformance const*, swift::ValueDecl*) (/path/to/swift/bin/swift+0xbdd14e)
#167 0x0000000000dd1d0c swift::NormalProtocolConformance::getWitness(swift::ValueDecl*, swift::LazyResolver*) const (/path/to/swift/bin/swift+0xdd1d0c)
#168 0x0000000000bcf568 (anonymous namespace)::LookupResultBuilder::add(swift::ValueDecl*, swift::ValueDecl*, swift::Type) (/path/to/swift/bin/swift+0xbcf568)
#169 0x0000000000bcfcf9 swift::TypeChecker::lookupMember(swift::DeclContext*, swift::Type, swift::DeclName, swift::OptionSet<swift::NameLookupFlags, unsigned int>)::$_1::operator()() const (/path/to/swift/bin/swift+0xbcfcf9)
#170 0x0000000000bcfae4 swift::TypeChecker::lookupMember(swift::DeclContext*, swift::Type, swift::DeclName, swift::OptionSet<swift::NameLookupFlags, unsigned int>) (/path/to/swift/bin/swift+0xbcfae4)
#171 0x0000000000c10c98 diagnoseUnknownType(swift::TypeChecker&, swift::DeclContext*, swift::Type, swift::SourceRange, swift::ComponentIdentTypeRepr*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, swift::OptionSet<swift::NameLookupFlags, unsigned int>, swift::GenericTypeResolver*, llvm::function_ref<bool (swift::TypeCheckRequest)>*) (/path/to/swift/bin/swift+0xc10c98)
#172 0x0000000000c0828a resolveIdentTypeComponent(swift::TypeChecker&, swift::DeclContext*, llvm::ArrayRef<swift::ComponentIdentTypeRepr*>, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, bool, swift::GenericTypeResolver*, llvm::function_ref<bool (swift::TypeCheckRequest)>*) (/path/to/swift/bin/swift+0xc0828a)
#173 0x0000000000c079cd swift::TypeChecker::resolveIdentifierType(swift::DeclContext*, swift::IdentTypeRepr*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, bool, swift::GenericTypeResolver*, llvm::function_ref<bool (swift::TypeCheckRequest)>*) (/path/to/swift/bin/swift+0xc079cd)
#174 0x0000000000c08ae8 (anonymous namespace)::TypeResolver::resolveType(swift::TypeRepr*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>) (/path/to/swift/bin/swift+0xc08ae8)
#175 0x0000000000c089df swift::TypeChecker::resolveType(swift::TypeRepr*, swift::DeclContext*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, swift::GenericTypeResolver*, llvm::function_ref<bool (swift::TypeCheckRequest)>*) (/path/to/swift/bin/swift+0xc089df)
#176 0x0000000000c07169 swift::TypeChecker::validateType(swift::TypeLoc&, swift::DeclContext*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, swift::GenericTypeResolver*, llvm::function_ref<bool (swift::TypeCheckRequest)>*) (/path/to/swift/bin/swift+0xc07169)
#177 0x0000000000bd21f9 validateParameterType(swift::ParamDecl*, swift::DeclContext*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, swift::GenericTypeResolver*, swift::TypeChecker&) (/path/to/swift/bin/swift+0xbd21f9)
#178 0x0000000000bd208b swift::TypeChecker::typeCheckParameterList(swift::ParameterList*, swift::DeclContext*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, swift::GenericTypeResolver*) (/path/to/swift/bin/swift+0xbd208b)
#179 0x0000000000bcb8e1 checkGenericFuncSignature(swift::TypeChecker&, swift::ArchetypeBuilder*, swift::AbstractFunctionDecl*, swift::GenericTypeResolver&) (/path/to/swift/bin/swift+0xbcb8e1)
#180 0x0000000000bcb578 swift::TypeChecker::validateGenericFuncSignature(swift::AbstractFunctionDecl*) (/path/to/swift/bin/swift+0xbcb578)
#181 0x0000000000baee11 (anonymous namespace)::DeclChecker::visitFuncDecl(swift::FuncDecl*) (/path/to/swift/bin/swift+0xbaee11)
#182 0x0000000000ba2316 (anonymous namespace)::DeclChecker::visit(swift::Decl*) (/path/to/swift/bin/swift+0xba2316)
#183 0x0000000000b9c02a swift::TypeChecker::validateDecl(swift::ValueDecl*, bool) (/path/to/swift/bin/swift+0xb9c02a)
#184 0x0000000000bdd14e swift::TypeChecker::resolveWitness(swift::NormalProtocolConformance const*, swift::ValueDecl*) (/path/to/swift/bin/swift+0xbdd14e)
#185 0x0000000000dd1d0c swift::NormalProtocolConformance::getWitness(swift::ValueDecl*, swift::LazyResolver*) const (/path/to/swift/bin/swift+0xdd1d0c)
#186 0x0000000000bcf568 (anonymous namespace)::LookupResultBuilder::add(swift::ValueDecl*, swift::ValueDecl*, swift::Type) (/path/to/swift/bin/swift+0xbcf568)
#187 0x0000000000bcfcf9 swift::TypeChecker::lookupMember(swift::DeclContext*, swift::Type, swift::DeclName, swift::OptionSet<swift::NameLookupFlags, unsigned int>)::$_1::operator()() const (/path/to/swift/bin/swift+0xbcfcf9)
#188 0x0000000000bcfae4 swift::TypeChecker::lookupMember(swift::DeclContext*, swift::Type, swift::DeclName, swift::OptionSet<swift::NameLookupFlags, unsigned int>) (/path/to/swift/bin/swift+0xbcfae4)
#189 0x0000000000c10c98 diagnoseUnknownType(swift::TypeChecker&, swift::DeclContext*, swift::Type, swift::SourceRange, swift::ComponentIdentTypeRepr*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, swift::OptionSet<swift::NameLookupFlags, unsigned int>, swift::GenericTypeResolver*, llvm::function_ref<bool (swift::TypeCheckRequest)>*) (/path/to/swift/bin/swift+0xc10c98)
#190 0x0000000000c0828a resolveIdentTypeComponent(swift::TypeChecker&, swift::DeclContext*, llvm::ArrayRef<swift::ComponentIdentTypeRepr*>, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, bool, swift::GenericTypeResolver*, llvm::function_ref<bool (swift::TypeCheckRequest)>*) (/path/to/swift/bin/swift+0xc0828a)
#191 0x0000000000c079cd swift::TypeChecker::resolveIdentifierType(swift::DeclContext*, swift::IdentTypeRepr*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, bool, swift::GenericTypeResolver*, llvm::function_ref<bool (swift::TypeCheckRequest)>*) (/path/to/swift/bin/swift+0xc079cd)
#192 0x0000000000c08ae8 (anonymous namespace)::TypeResolver::resolveType(swift::TypeRepr*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>) (/path/to/swift/bin/swift+0xc08ae8)
#193 0x0000000000c089df swift::TypeChecker::resolveType(swift::TypeRepr*, swift::DeclContext*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, swift::GenericTypeResolver*, llvm::function_ref<bool (swift::TypeCheckRequest)>*) (/path/to/swift/bin/swift+0xc089df)
#194 0x0000000000c07169 swift::TypeChecker::validateType(swift::TypeLoc&, swift::DeclContext*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, swift::GenericTypeResolver*, llvm::function_ref<bool (swift::TypeCheckRequest)>*) (/path/to/swift/bin/swift+0xc07169)
#195 0x0000000000bd21f9 validateParameterType(swift::ParamDecl*, swift::DeclContext*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, swift::GenericTypeResolver*, swift::TypeChecker&) (/path/to/swift/bin/swift+0xbd21f9)
#196 0x0000000000bd208b swift::TypeChecker::typeCheckParameterList(swift::ParameterList*, swift::DeclContext*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, swift::GenericTypeResolver*) (/path/to/swift/bin/swift+0xbd208b)
#197 0x0000000000bcb8e1 checkGenericFuncSignature(swift::TypeChecker&, swift::ArchetypeBuilder*, swift::AbstractFunctionDecl*, swift::GenericTypeResolver&) (/path/to/swift/bin/swift+0xbcb8e1)
#198 0x0000000000bcb578 swift::TypeChecker::validateGenericFuncSignature(swift::AbstractFunctionDecl*) (/path/to/swift/bin/swift+0xbcb578)
#199 0x0000000000baee11 (anonymous namespace)::DeclChecker::visitFuncDecl(swift::FuncDecl*) (/path/to/swift/bin/swift+0xbaee11)
#200 0x0000000000ba2316 (anonymous namespace)::DeclChecker::visit(swift::Decl*) (/path/to/swift/bin/swift+0xba2316)
#201 0x0000000000b9c02a swift::TypeChecker::validateDecl(swift::ValueDecl*, bool) (/path/to/swift/bin/swift+0xb9c02a)
#202 0x0000000000bdd14e swift::TypeChecker::resolveWitness(swift::NormalProtocolConformance const*, swift::ValueDecl*) (/path/to/swift/bin/swift+0xbdd14e)
#203 0x0000000000dd1d0c swift::NormalProtocolConformance::getWitness(swift::ValueDecl*, swift::LazyResolver*) const (/path/to/swift/bin/swift+0xdd1d0c)
#204 0x0000000000bcf568 (anonymous namespace)::LookupResultBuilder::add(swift::ValueDecl*, swift::ValueDecl*, swift::Type) (/path/to/swift/bin/swift+0xbcf568)
#205 0x0000000000bcfcf9 swift::TypeChecker::lookupMember(swift::DeclContext*, swift::Type, swift::DeclName, swift::OptionSet<swift::NameLookupFlags, unsigned int>)::$_1::operator()() const (/path/to/swift/bin/swift+0xbcfcf9)
#206 0x0000000000bcfae4 swift::TypeChecker::lookupMember(swift::DeclContext*, swift::Type, swift::DeclName, swift::OptionSet<swift::NameLookupFlags, unsigned int>) (/path/to/swift/bin/swift+0xbcfae4)
#207 0x0000000000c10c98 diagnoseUnknownType(swift::TypeChecker&, swift::DeclContext*, swift::Type, swift::SourceRange, swift::ComponentIdentTypeRepr*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, swift::OptionSet<swift::NameLookupFlags, unsigned int>, swift::GenericTypeResolver*, llvm::function_ref<bool (swift::TypeCheckRequest)>*) (/path/to/swift/bin/swift+0xc10c98)
#208 0x0000000000c0828a resolveIdentTypeComponent(swift::TypeChecker&, swift::DeclContext*, llvm::ArrayRef<swift::ComponentIdentTypeRepr*>, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, bool, swift::GenericTypeResolver*, llvm::function_ref<bool (swift::TypeCheckRequest)>*) (/path/to/swift/bin/swift+0xc0828a)
#209 0x0000000000c079cd swift::TypeChecker::resolveIdentifierType(swift::DeclContext*, swift::IdentTypeRepr*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, bool, swift::GenericTypeResolver*, llvm::function_ref<bool (swift::TypeCheckRequest)>*) (/path/to/swift/bin/swift+0xc079cd)
#210 0x0000000000c08ae8 (anonymous namespace)::TypeResolver::resolveType(swift::TypeRepr*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>) (/path/to/swift/bin/swift+0xc08ae8)
#211 0x0000000000c089df swift::TypeChecker::resolveType(swift::TypeRepr*, swift::DeclContext*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, swift::GenericTypeResolver*, llvm::function_ref<bool (swift::TypeCheckRequest)>*) (/path/to/swift/bin/swift+0xc089df)
#212 0x0000000000c07169 swift::TypeChecker::validateType(swift::TypeLoc&, swift::DeclContext*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, swift::GenericTypeResolver*, llvm::function_ref<bool (swift::TypeCheckRequest)>*) (/path/to/swift/bin/swift+0xc07169)
#213 0x0000000000bd21f9 validateParameterType(swift::ParamDecl*, swift::DeclContext*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, swift::GenericTypeResolver*, swift::TypeChecker&) (/path/to/swift/bin/swift+0xbd21f9)
#214 0x0000000000bd208b swift::TypeChecker::typeCheckParameterList(swift::ParameterList*, swift::DeclContext*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, swift::GenericTypeResolver*) (/path/to/swift/bin/swift+0xbd208b)
#215 0x0000000000bcb8e1 checkGenericFuncSignature(swift::TypeChecker&, swift::ArchetypeBuilder*, swift::AbstractFunctionDecl*, swift::GenericTypeResolver&) (/path/to/swift/bin/swift+0xbcb8e1)
#216 0x0000000000bcb578 swift::TypeChecker::validateGenericFuncSignature(swift::AbstractFunctionDecl*) (/path/to/swift/bin/swift+0xbcb578)
#217 0x0000000000baee11 (anonymous namespace)::DeclChecker::visitFuncDecl(swift::FuncDecl*) (/path/to/swift/bin/swift+0xbaee11)
#218 0x0000000000ba2316 (anonymous namespace)::DeclChecker::visit(swift::Decl*) (/path/to/swift/bin/swift+0xba2316)
#219 0x0000000000b9c02a swift::TypeChecker::validateDecl(swift::ValueDecl*, bool) (/path/to/swift/bin/swift+0xb9c02a)
#220 0x0000000000bdd14e swift::TypeChecker::resolveWitness(swift::NormalProtocolConformance const*, swift::ValueDecl*) (/path/to/swift/bin/swift+0xbdd14e)
#221 0x0000000000dd1d0c swift::NormalProtocolConformance::getWitness(swift::ValueDecl*, swift::LazyResolver*) const (/path/to/swift/bin/swift+0xdd1d0c)
#222 0x0000000000bcf568 (anonymous namespace)::LookupResultBuilder::add(swift::ValueDecl*, swift::ValueDecl*, swift::Type) (/path/to/swift/bin/swift+0xbcf568)
#223 0x0000000000bcfcf9 swift::TypeChecker::lookupMember(swift::DeclContext*, swift::Type, swift::DeclName, swift::OptionSet<swift::NameLookupFlags, unsigned int>)::$_1::operator()() const (/path/to/swift/bin/swift+0xbcfcf9)
#224 0x0000000000bcfae4 swift::TypeChecker::lookupMember(swift::DeclContext*, swift::Type, swift::DeclName, swift::OptionSet<swift::NameLookupFlags, unsigned int>) (/path/to/swift/bin/swift+0xbcfae4)
#225 0x0000000000c10c98 diagnoseUnknownType(swift::TypeChecker&, swift::DeclContext*, swift::Type, swift::SourceRange, swift::ComponentIdentTypeRepr*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, swift::OptionSet<swift::NameLookupFlags, unsigned int>, swift::GenericTypeResolver*, llvm::function_ref<bool (swift::TypeCheckRequest)>*) (/path/to/swift/bin/swift+0xc10c98)
#226 0x0000000000c0828a resolveIdentTypeComponent(swift::TypeChecker&, swift::DeclContext*, llvm::ArrayRef<swift::ComponentIdentTypeRepr*>, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, bool, swift::GenericTypeResolver*, llvm::function_ref<bool (swift::TypeCheckRequest)>*) (/path/to/swift/bin/swift+0xc0828a)
#227 0x0000000000c079cd swift::TypeChecker::resolveIdentifierType(swift::DeclContext*, swift::IdentTypeRepr*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, bool, swift::GenericTypeResolver*, llvm::function_ref<bool (swift::TypeCheckRequest)>*) (/path/to/swift/bin/swift+0xc079cd)
#228 0x0000000000c08ae8 (anonymous namespace)::TypeResolver::resolveType(swift::TypeRepr*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>) (/path/to/swift/bin/swift+0xc08ae8)
#229 0x0000000000c089df swift::TypeChecker::resolveType(swift::TypeRepr*, swift::DeclContext*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, swift::GenericTypeResolver*, llvm::function_ref<bool (swift::TypeCheckRequest)>*) (/path/to/swift/bin/swift+0xc089df)
#230 0x0000000000c07169 swift::TypeChecker::validateType(swift::TypeLoc&, swift::DeclContext*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, swift::GenericTypeResolver*, llvm::function_ref<bool (swift::TypeCheckRequest)>*) (/path/to/swift/bin/swift+0xc07169)
#231 0x0000000000bd21f9 validateParameterType(swift::ParamDecl*, swift::DeclContext*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, swift::GenericTypeResolver*, swift::TypeChecker&) (/path/to/swift/bin/swift+0xbd21f9)
#232 0x0000000000bd208b swift::TypeChecker::typeCheckParameterList(swift::ParameterList*, swift::DeclContext*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, swift::GenericTypeResolver*) (/path/to/swift/bin/swift+0xbd208b)
#233 0x0000000000bcb8e1 checkGenericFuncSignature(swift::TypeChecker&, swift::ArchetypeBuilder*, swift::AbstractFunctionDecl*, swift::GenericTypeResolver&) (/path/to/swift/bin/swift+0xbcb8e1)
#234 0x0000000000bcb578 swift::TypeChecker::validateGenericFuncSignature(swift::AbstractFunctionDecl*) (/path/to/swift/bin/swift+0xbcb578)
#235 0x0000000000baee11 (anonymous namespace)::DeclChecker::visitFuncDecl(swift::FuncDecl*) (/path/to/swift/bin/swift+0xbaee11)
#236 0x0000000000ba2316 (anonymous namespace)::DeclChecker::visit(swift::Decl*) (/path/to/swift/bin/swift+0xba2316)
#237 0x0000000000b9c02a swift::TypeChecker::validateDecl(swift::ValueDecl*, bool) (/path/to/swift/bin/swift+0xb9c02a)
#238 0x0000000000bdd14e swift::TypeChecker::resolveWitness(swift::NormalProtocolConformance const*, swift::ValueDecl*) (/path/to/swift/bin/swift+0xbdd14e)
#239 0x0000000000dd1d0c swift::NormalProtocolConformance::getWitness(swift::ValueDecl*, swift::LazyResolver*) const (/path/to/swift/bin/swift+0xdd1d0c)
#240 0x0000000000bcf568 (anonymous namespace)::LookupResultBuilder::add(swift::ValueDecl*, swift::ValueDecl*, swift::Type) (/path/to/swift/bin/swift+0xbcf568)
#241 0x0000000000bcfcf9 swift::TypeChecker::lookupMember(swift::DeclContext*, swift::Type, swift::DeclName, swift::OptionSet<swift::NameLookupFlags, unsigned int>)::$_1::operator()() const (/path/to/swift/bin/swift+0xbcfcf9)
#242 0x0000000000bcfae4 swift::TypeChecker::lookupMember(swift::DeclContext*, swift::Type, swift::DeclName, swift::OptionSet<swift::NameLookupFlags, unsigned int>) (/path/to/swift/bin/swift+0xbcfae4)
#243 0x0000000000c10c98 diagnoseUnknownType(swift::TypeChecker&, swift::DeclContext*, swift::Type, swift::SourceRange, swift::ComponentIdentTypeRepr*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, swift::OptionSet<swift::NameLookupFlags, unsigned int>, swift::GenericTypeResolver*, llvm::function_ref<bool (swift::TypeCheckRequest)>*) (/path/to/swift/bin/swift+0xc10c98)
#244 0x0000000000c0828a resolveIdentTypeComponent(swift::TypeChecker&, swift::DeclContext*, llvm::ArrayRef<swift::ComponentIdentTypeRepr*>, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, bool, swift::GenericTypeResolver*, llvm::function_ref<bool (swift::TypeCheckRequest)>*) (/path/to/swift/bin/swift+0xc0828a)
#245 0x0000000000c079cd swift::TypeChecker::resolveIdentifierType(swift::DeclContext*, swift::IdentTypeRepr*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, bool, swift::GenericTypeResolver*, llvm::function_ref<bool (swift::TypeCheckRequest)>*) (/path/to/swift/bin/swift+0xc079cd)
#246 0x0000000000c08ae8 (anonymous namespace)::TypeResolver::resolveType(swift::TypeRepr*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>) (/path/to/swift/bin/swift+0xc08ae8)
#247 0x0000000000c089df swift::TypeChecker::resolveType(swift::TypeRepr*, swift::DeclContext*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, swift::GenericTypeResolver*, llvm::function_ref<bool (swift::TypeCheckRequest)>*) (/path/to/swift/bin/swift+0xc089df)
#248 0x0000000000c07169 swift::TypeChecker::validateType(swift::TypeLoc&, swift::DeclContext*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, swift::GenericTypeResolver*, llvm::function_ref<bool (swift::TypeCheckRequest)>*) (/path/to/swift/bin/swift+0xc07169)
#249 0x0000000000bd21f9 validateParameterType(swift::ParamDecl*, swift::DeclContext*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, swift::GenericTypeResolver*, swift::TypeChecker&) (/path/to/swift/bin/swift+0xbd21f9)
#250 0x0000000000bd208b swift::TypeChecker::typeCheckParameterList(swift::ParameterList*, swift::DeclContext*, swift::OptionSet<swift::TypeResolutionFlags, unsigned int>, swift::GenericTypeResolver*) (/path/to/swift/bin/swift+0xbd208b)
#251 0x0000000000bcb8e1 checkGenericFuncSignature(swift::TypeChecker&, swift::ArchetypeBuilder*, swift::AbstractFunctionDecl*, swift::GenericTypeResolver&) (/path/to/swift/bin/swift+0xbcb8e1)
#252 0x0000000000bcb578 swift::TypeChecker::validateGenericFuncSignature(swift::AbstractFunctionDecl*) (/path/to/swift/bin/swift+0xbcb578)
#253 0x0000000000baee11 (anonymous namespace)::DeclChecker::visitFuncDecl(swift::FuncDecl*) (/path/to/swift/bin/swift+0xbaee11)
#254 0x0000000000ba2316 (anonymous namespace)::DeclChecker::visit(swift::Decl*) (/path/to/swift/bin/swift+0xba2316)
#255 0x0000000000b9c02a swift::TypeChecker::validateDecl(swift::ValueDecl*, bool) (/path/to/swift/bin/swift+0xb9c02a)

@swift-ci please smoke test and merge

@swift-ci please test and merge

@swift-ci please smoke test and merge Linux platform

@swift-ci please smoke test and merge


text:
build: start building static version of ICU for Windows

This builds ICU from source, statically builds and links it into the
toolchain image.  This removes the last piece that we were using that is
not auditable.  We now fully build the toolchain on the host on
swift-ci.

@swift-ci please build toolchain Windows platform

@swift-ci please build toolchain Windows platform

@swift-ci please build toolchain Windows platform

@swift-ci please build toolchain Windows platform

Please test with following PRs:
apple/swift-installer-scripts#132
@swift-ci please build toolchain windows platform

@swift-ci please smoke test


text:
Cleanup generic resolver workaround

This kills one of the workarounds added by @DougGregor when the partial resolver was removed, and gets us close to killing the other one.
I spoke too soon, we still need the workaround. Still a nice cleanup :)

@swift-ci Please smoke test

@swift-ci Please smoke test

@swift-ci Please smoke test


text:
Fix issues with runtime reporting incorrect types for nested generics

Resolves #60565

@swift-ci Please smoke test

Can you add a test case?

@swift-ci Please smoke test

Tests created in this PR: https://github.com/apple/llvm-project/pull/5544. I've never contributed to Apple's fork of LLVM -- how do I run the LLDB tests against this PR (they will fail otherwise)? Also am I merging into the correct branch apple:stable/20220421?
Many thanks to @augusto2112 for extensively helping me find the fix.
While this patch seems to fix the issue, I am still fuzzy on the how everything works -- so please let me know if there is a more correct approach to take here.

@NuriAmari thank you for this!

how do I run the LLDB tests against this PR (they will fail otherwise)?

From the lldb side you can type the following:
https://github.com/apple/swift/pull/61819
"at" swiftci test (with an @, don't want to trigger it here)

Also am I merging into the correct branch apple:stable/20220421?

Yes, that's correct. If you could also cherrypick it into origin/stable/20221013 and next after merging, that'd be helpful.

While this patch seems to fix the issue, I am still fuzzy on the how everything works -- so please let me know if there is a more correct approach to take here.

So, context descriptors have a flat representation of generic parameters, while typerefs use a nested representation. Lets say you have this type:
class A<T> {
  class B<U, V> {
    class C<W> {
    }
  }
}

In the context descriptor representation, C has 4 generic parameters, B has 3 and A has 1. While in the typeref representation, A and C have 1 generic parameter and B has 2.
What this lambda is doing is going up the context descriptor chain and building a vector with the shape that the typeref hierarchy expects.
Does that make sense?

If you could also cherrypick it into origin/stable/20221013 and next after merging, that'd be helpful.

Ok will do thanks!

Does that make sense?

Yes the part that remains a little unclear to me is exactly which contexts we need to consider when walking up the chain. I know when we discussed skipping anonymous contexts, you mentioned they are introduced by private type declarations. I will try again but I couldn't verify this is a small experiment. Overall what kind of contexts there are, and which we care about is what I would like to clarify.

Overall what kind of contexts there are, and which we care about is what I would like to clarify.

You can check in MetadataValues.h, you have:
enum class ContextDescriptorKind : uint8_t {
  /// This context descriptor represents a module.
  Module = 0,

  /// This context descriptor represents an extension.
  Extension = 1,

  /// This context descriptor represents an anonymous possibly-generic context
  /// such as a function body.
  Anonymous = 2,

  /// This context descriptor represents a protocol context.
  Protocol = 3,

  /// This context descriptor represents an opaque type alias.
  OpaqueType = 4,

  /// First kind that represents a type of any sort.
  Type_First = 16,

  /// This context descriptor represents a class.
  Class = Type_First,

  /// This context descriptor represents a struct.
  Struct = Type_First + 1,

  /// This context descriptor represents an enum.
  Enum = Type_First + 2,

  /// Last kind that represents a type of any sort.
  Type_Last = 31,
};

You can add the following code in the lambda to check what type the context descriptor represents:
          auto node = buildContextMangling(current, dem);
          node->dump();

For something like:
class A<T> {
  private class B<U> {
    func f<C>(t : C) {
      print(1) // br here
    }
  }
  func g() {
    B<Double>().f(t: true)
  }
}
let a = A<Int>()
a.g()

This will print:
// Module descriptor
kind=Module, text="t"

//  Class descriptor for `A`
kind=Type
  kind=Class
    kind=Module, text="t"
    kind=Identifier, text="A"

// Anonymous descriptor, it "nests" the class B
kind=AnonymousContext
  kind=Identifier, text="$100003ce0"
  kind=Class
    kind=Module, text="t"
    kind=Identifier, text="A"

// Class descriptor for B
kind=Type
  kind=Class
    kind=Class
      kind=Module, text="t"
      kind=Identifier, text="A"
    kind=PrivateDeclName
      kind=Identifier, text="_9AA20C7C53A214BFCE5DF8269DEEAC4F"
      kind=Identifier, text="B"

@swift-ci Please smoke test

@swift-ci Please smoke test

authors: NuriAmari augusto2112 slavapestov


text:
Sema: Recognize non-identifier type qualifiers in enum element patterns and type expressions

Resolves #59923

@swift-ci please smoke test macOS

@xedin ping


text:
[CS] Split off a couple more changes from the ExprPattern work

Split off a couple more changes from #64280

@swift-ci please test


text:
[NFC] Cleanup implicit pointer conversion diagnostic tests

These tests were fixed by:
[TypeChecker] SE-0324: Extend Swift -> C pointer conversions to arrays
The unit tests in diagnose_implicit_raw_conversion.swift are now replete.

@swift-ci test


text:
[SwiftSyntax] Add CMake argument to enable assertions in SwiftSyntax for Release+Assert builds

This does not do anything by itself, it needs a corresponding change in swift-syntax to pick up the CMake option and actually enable assertions.

https://github.com/apple/swift-syntax/pull/1432
@swift-ci Please smoke test


text:
Adjustments for how Fix-It changes are represented by SwiftSyntax

Companion of https://github.com/apple/swift-syntax/pull/1460

https://github.com/apple/swift-syntax/pull/1460
@swift-ci Please smoke test

https://github.com/apple/swift-syntax/pull/1460
@swift-ci Please smoke test

https://github.com/apple/swift-syntax/pull/1460
@swift-ci Please smoke test macOS


text:
[5.9][Macros] Rearrange plugin search order

Cherry-pick #65978 into release/5.9
rdar://109163929

@swift-ci Please test


text:
Fix SILCombine to preserve a release of a move-only type

The release needs to be preserved in case a user-defined deinit is present in the released type. Checking for move-only is slightly conservative.
Fixes rdar://109846094 ([move-only] SILCombine eliminates struct deinitialization)

@swift-ci test


text:
Updating docs with new CI triggers

Adding docs for new toolchain CI triggers

@swift-ci please smoke test

Might be easier to review by looking at it in rendered form; https://github.com/etcwilde/swift/blob/ewilde/update-CI-docs/docs/ContinuousIntegration.md#build-swift-toolchain

There was small update missing, I applied to the PR.

Thanks @etcwilde for updating the Docs, soon I will also add support for AArch64.

authors: etcwilde shahmishal


text:
[SILOptimizer] Eliminate dead alloc_pack

This is very rudimentary support for eliminating dead packs.

@swift-ci please test

@swift-ci please test

@swift-ci please test

@swift-ci please clean test


text:
Platform: improve module definitions for Windows

Rework a number of items within the platform specific module definitions for corecrt and MSVCPRT.  This was done to try to find a modularisation failure.

@swift-ci please test


text:
[GenericSigBuilder] Conformances due to concrete types can be abstract.

When a type parameter is made concrete via an existential type,
conformance requirements on that type parameter will be
abstract. Fixes rdar://problem/30610428.

@swift-ci please smoke test and merge


text:
List of Lists created rather than ND-Array

import turicreate as tc
array = [[1, 2, 3, 4, 5], [6, 7, 8, 9, 10], [1, 2, 3, 4, 5]]
tc.SArray([array])
-> creates a list rather than an ND-Array

By Design. Python list creates list type, Numpy array creates ndarray type.

source: gharchive/issue

authors: abhishekpratapa znation

repo: apple/turicreate


text:
Update Resque instrumentation

We've updated the background job reporting requirements.

[x] Update and add more thorough tests
[x] Add not tracing tests
[x] Add parameter/return validation to tests
[x] Update to use newer gem instrumentation tools
[x] Remove :link_workers option
[x] Split instrumentation config into client/worker parts
[x] Add tests for both and legacy resque config
[x] Add new Client Msg KVs to report; add tests to validate
[x] Add new Job KVs to report; add tests to validate
[x] Backtest to determine supported versions

This instrumentation supports versions 1.25.0 or greater.

repo: appneta/ruby-traceview

license_source: bigquery


text:
Add support for reversed arguments in comparison operators

Works:
SELECT `posts`.* FROM `posts` WHERE (created_at >= \'2016-01-10 13:34:46.647328\' AND updated_at <= \'2016-01-10 13:34:46.647328\')

Doesnt work:
SELECT `posts`.* FROM `posts` WHERE (\'2016-01-10 13:34:46.647328\' >= created_at AND \'2016-01-10 13:34:46.647328\' <= updated_at)"

Added a few println! to make clear what's happening with each token/state

We should check if there's another library that does this and does it better. If so, we can replace it with such a library

authors: matsimitsu tombruijn


text:
[Feature]: Id based pagination or Cursors based pagination (or both) for performance issues

Is there an existing issue for this?

[X] I have searched the existing issues

Summary
A way to access the last id (before the page change).
So that in theory can make id > Table1.lastId Limit 10.
Or for postgres: https://www.postgresql.org/docs/9.2/plpgsql-cursors.html with Table1.lastPageNo so you can move the cursor with a condition: Table1.lastPageNo > Table1.pageNo
Why should this be worked on?
https://use-the-index-luke.com/no-offset
Performance if you need to go back allot.

@lublak thank you for the feature request. This can also be achieved today by querying for
where id > {{_.last(Table1.tableData).id}} we will consider making this easier with a lastId field as you suggested

@Nikhil-Nandagopal the issue is here that i don't know if the user pushes the "next" button or the "previos" button.
So the lastPageNo is very important (i think)

@lublak got it, that makes sense. We'll either expose a Table1.pageDirection field or a Table1.lastPageNo field

Assuming 20% of REST APIs need this feature
Stats

Stat
Values

Reach
1000

Effort (months)
0.25

authors: Nikhil-Nandagopal lublak

repo: appsmithorg/appsmith


text:
[Bug]: Graphql ui and functionality issues second iteration

Is there an existing issue for this?

[X] I have searched the existing issues

Description

[x] Remove the tooltips from the body and body variable headers

[x] The tooltip underline for the pagination tab has to be dotted underlines so that is consistent with the component of the property pane and UQI.

[x] The slash command shoudn’t be active for disabled inputs.

[x] The width of the dropdowns and inputs are much larger than the ones in the designs.

[x] Page crashes when you enable the separate value checkbox.

[x] Configure Previous page and Configure next page titles are inconsistent with the designs.
a) Font size should be 14px.
b. Spacing is different from designs they are supposed to be closer the the inputs than the top section.

[x] Need an empty state for the dropdowns in case there isn’t a query written or there are no variables mentioned in the code.

[x] Create a flow for creating direct GraphQL API just like Rest API flow right now and keep the GraphQL datasource flow as well.

Steps To Reproduce

Go to create GraphQL Datasource.
Create GraphQL API
Observe the above issues.

Public Sample App
No response
Version
Self Hosted

Not in the release Yet


text:
[Bug]: REST API content type is auto setting and removing user set content type

Is there an existing issue for this?

[X] I have searched the existing issues

Description
Ref: https://theappsmith.slack.com/archives/C040LHZN03V/p1669537528438219
Steps To Reproduce
Ref: https://theappsmith.slack.com/archives/C040LHZN03V/p1669537528438219
Public Sample App
No response
Issue video log
No response
Version
cloud, self hosted

Notion Doc Link: https://www.notion.so/appsmith/The-issue-with-API-Content-Types-84c2dfdc31fd4c87827176904de58b27

The PR works as per expectation on the local

authors: Irongade prapullac sumitsum


text:
[Bug]: REST/ GraphQL: If there is a space before the API, it throws an error unlike postman where spaces before API/ URI is allowed

Is there an existing issue for this?

[X] I have searched the existing issues

Description
graphQL/ Rest API -  If there is a space before the API, it throws an error unlike postman where spaces before API/ URI is allowed.
Steps To Reproduce

Click on query to add a new balnk REST/ GraphQL API

Say the API is - https://countries.trevorblades.com

Query is - query CountryFilterInput{
countries{
code
name
capital
continent{
code
name
}
}
}

Give a space before the API
Observe - The error message is - Illegal character in scheme name at index 0:  https://countries.trevorblades.com

Public Sample App
No response
Environment
Production
Issue video log
https://knynrq7fk9.vmaker.com/record/gUA53Sv4EnHPtHYq
Version
1.9.12

Notion doc for the issue and fix :https://www.notion.so/appsmith/API-GraphQL-URL-With-Whitespaces-449a8fa4f3fa49e490b4b4b0fe5a16d1


text:
[Feature] Display Local states in entity explorer

Summary
A lot of users are confused by whether we have a way to save local states in appsmith. This can be clarified with a UI to display the local values saved and a prompt to direct users to use the storeValue function

Duplicate of #3070


text:
chore: Remove the unnecessary error log from the derived property function

Description
Removed a console error log from a derived property function as it was confusing the user and serving no purpose.
Fixes #14104
Type of change

Bug fix (non-breaking change which fixes an issue)

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes

/ok-to-test sha=a9466a6


text:
chore: upgrade react to v17

Description
Upgrading react/react-dom to v17
Fixes # (issue)
Media

A video or a GIF is preferred. when using Loom, don’t embed because it looks like it’s a GIF. instead, just link to the video

Type of change

Please delete options that are not relevant.

Bug fix (non-breaking change which fixes an issue)
New feature (non-breaking change which adds functionality)
Breaking change (fix or feature that would cause existing functionality to not work as expected)
This change requires a documentation update

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions, so we can reproduce.
Please also list any relevant details for your test configuration.
Delete anything that is not important

Manual
Jest
Cypress

Test Plan

Add Testsmith test cases links that relate to this PR

Issues raised during DP testing

Link issues raised during DP testing for better visiblity and tracking (copy link from comments dropped on this PR)

Checklist:
Dev activity

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] PR is being merged under a feature flag

QA activity:

[ ] Test plan has been approved by relevant developers
[ ] Test plan has been peer reviewed by QA
[ ] Cypress test cases have been added and approved by either SDET or manual QA
[ ] Organized project review call with relevant stakeholders after Round 1/2 of QA
[ ] Added Test Plan Approved label after reveiwing all Cypress test

/ok-to-test sha=ee63ebd

/ok-to-test sha=1ae43c8


text:
chore: Increase delay before discarding cell value in flaky table property p…

Fixes #23161

Pull Request Template
Use this template to quickly create a well written pull request. Delete all quotes before creating the pull request.

Description

Add a TL;DR when description is extra long (helps content team)
Please include a summary of the changes and which issue has been fixed. Please also include relevant motivation
and context. List any dependencies that are required for this change
Links to Notion, Figma or any other documents that might be relevant to the PR

PR fixes following issue(s)
Fixes # (issue number)

if no issue exists, please create an issue and ask the maintainers about this first

Media

A video or a GIF is preferred. when using Loom, don’t embed because it looks like it’s a GIF. instead, just link to the video

Type of change

Please delete options that are not relevant.

Bug fix (non-breaking change which fixes an issue)
New feature (non-breaking change which adds functionality)
Breaking change (fix or feature that would cause existing functionality to not work as expected)
Chore (housekeeping or task changes that don't impact user perception)
This change requires a documentation update

Testing

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Also list any relevant details for your test configuration.
Delete anything that is not relevant

[ ] Manual
[ ] Jest
[ ] Cypress

Test Plan

Add Testsmith test cases links that relate to this PR

Issues raised during DP testing

Link issues raised during DP testing for better visiblity and tracking (copy link from comments dropped on this PR)

Checklist:
Dev activity

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] PR is being merged under a feature flag

QA activity:

[ ] Speedbreak features have been covered
[ ] Test plan covers all impacted features and areas of interest
[ ] Test plan has been peer reviewed by project stakeholders and other QA members
[ ] Manually tested functionality on DP
[ ] We had an implementation alignment call with stakeholders post QA Round 2
[ ] Cypress test cases have been added and approved by SDET/manual QA
[ ] Added Test Plan Approved label after Cypress tests were reviewed
[ ] Added Test Plan Approved label after JUnit tests were reviewed

/ok-to-test sha=9058949

/ok-to-test sha=9058949

/ok-to-test sha=9058949

/ok-to-test sha=9058949

/ok-to-test sha=570538f

/ok-to-test sha=570538f

/ok-to-test sha=570538f

/ok-to-test sha=570538f

/ok-to-test sha=570538f

/ok-to-test sha=570538f

authors: Aishwarya-U-R rajatagrawal


text:
chore: expand the widget so that the cell edit icon is visible

Description
Fix expand the widget so that the cell edit icon is visible
Type of change

Chore (housekeeping or task changes that don't impact user perception)

Checklist:
Dev activity

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] PR is being merged under a feature flag

QA activity:

[ ] Speedbreak features have been covered
[ ] Test plan covers all impacted features and areas of interest
[ ] Test plan has been peer reviewed by project stakeholders and other QA members
[ ] Manually tested functionality on DP
[ ] We had an implementation alignment call with stakeholders post QA Round 2
[ ] Cypress test cases have been added and approved by SDET/manual QA
[ ] Added Test Plan Approved label after Cypress tests were reviewed
[ ] Added Test Plan Approved label after JUnit tests were reviewed

/ok-to-test sha=chore/one-click-binding-review-callouts-new

/ok-to-test sha=3b0208f555ee2f004aa7fdb68fb329e537b94c95

/ok-to-test sha=16c9ba6adf926dd07184f3c0e1fa2f9e14f301c3

/ok-to-test sha=12e36cafc2baef5bb8d46743f4eb396f63d31e9f

/ok-to-test sha=86d45baa269312668e6f4634ab950af38a92afb4

/ok-to-test sha=2d464456041e37507baafca12772f03d754f180f


text:
chore: Split screen foundations

Improves foundations for Upcoming Split Screen changes
fixes: #29953

/build-deploy-preview skip-tests=true

/build-deploy-preview skip-tests=true

/ok-to-test tags="@tag.IDE"

/ok-to-test tags="@tag.IDE"

/ok-to-test tags="@tag.All"


text:
Currency datatype in Input Widget

Description
Support currency datatype in Input Widget
Fixes #1904
Type of change

New feature (non-breaking change which adds functionality)

How Has This Been Tested?

Cypress test that validates currency datatype

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes

Test coverage results :test_tube:
:red_circle: Total coverage has decreased
// Code coverage diff between base branch:release and head branch: currency-type-input

Status
File
% Stmts
% Branch
% Funcs
% Lines

:red_circle:
total
51.64 (-0.02)
32.68 (-0.16)
29.6 (0.03)
52.12 (-0.02)

:red_circle:
app/client/src/components/ads/Dropdown.tsx
51.55 (-10.95)
39.81 (-27.3)
28.89 (-7.95)
50.57 (-8.52)

:sparkles: :new:
app/client/src/components/designSystems/appsmith/SearchComponent.tsx
54.55
33.33
20
52.38

:red_circle:
app/client/src/components/designSystems/blueprint/InputComponent.tsx
57.01 (-4.63)
31.25 (-5.85)
52.63 (4.35)
56.86 (-5.46)

:sparkles: :new:
app/client/src/constants/Currency.tsx
100
100
100
100

:green_circle:
app/client/src/widgets/InputWidget.tsx
70.97 (0.79)
32.35 (-2.03)
62.5 (4.17)
76.79 (0.32)

/ok-to-test sha=ac8dd2d

/ok-to-test sha=768be59

Great work @vicky-primathon.

@vicky-primathon 2 changes

The dropdown value when multiline cover the field underneath

The margin between the flag icon and text needs to be more than 15px.

/ok-to-test sha=7417828

/ok-to-test sha=6ee0f0b

/ok-to-test sha=7bc0190

/ok-to-test sha=4f91044

@vicky-primathon @somangshu Tested this feature and came up with the below issues

The the currency type is not selected the mouse insertion point is not at the beginning - So the default currency type can be displayed

https://loom.com/share/aa681474e4d24648929da846cd8b7845

When the user removes the number from the currency field Nan is displayed and which is not removable and once when NaN occurs user will not be able to type or choose numbers from up/down arrow button

https://loom.com/share/6f4f54ed19b34bfd9cbcea91d9a77ce8

Unable to type abbreviations k or m

When the currency field is bind-ed to text widget only the numbers are displayed and the currency symbol is not displayed

https://loom.com/share/eaf1cc098f5c4b0eab9db94e00440c4f

The decimal selection automatically redirects to 'No selection' when 0 decimal is chosen and . is typed in the currency field

https://loom.com/share/4140872ced394321b59d4c99486a85e8

/ok-to-test sha=cb455f8

/ok-to-test sha=2e5ce92

@vicky-primathon @somangshu Retested this feature and please find the status below
Issues Fixed:
1,2,5
New issues found:
6) The value at allow currency field is invalid error occurs when the user deletes and undo deletion
https://loom.com/share/d03e000ab6fb4590b0258721f9a43357

0 is not accepted for both 1 and 2 decimal options. When the 0 is entered after decimal the decimal pointer disappears and also it is noticed that 15.30 , 111.90 will not work because of 0 but 15.31 or 111.98 works
https://loom.com/share/1883ce1b3c9b40b9842f5c6f5acb3dad

Rerunning tests here, Unrelated failing test SwitchDatasource_spec.js

@vicky-primathon Retested this and please find the status below,
Issues Fixed:
1,2,5,6,7
New issue:
8) For one decimal or two decimal the values are rounded off. For example selecting two decimal user types 34.67 and when agin 7 is pressed then it becomes 34.8 and changes randomly
https://www.loom.com/share/dd42d4ffa1e3443ea3e84c590595a1af

@vicky-primathon Rested the fixes and now looks good.

/ok-to-test sha=d5a004f


text:
java-microprofile: Add maven wrapper for the init step

Checklist:

[x] Read the Code of Conduct and Contributing Guidelines.

[x] Followed the commit message guidelines.

[x] Stack adheres to Appsody stack structure.

Modifying an existing stack:

[ ] Updated the stack version in stack.yaml

Adds maven wrapper to the stack

Uses embedded maven wrapper for the init step, removing maven depdnecny on the host

Have only updated the init step with the wrapper, the rest of the stack uses standard wrapper. Not 100% sure if this is an issue.

@Emily-Jiang @ebullient @BarDweller @seabaylea
I had tried this out while working on CodeWind integration issues and wanted to get your thoughts on including this in the stack to remove maven dependency from user's machine.

Do you have to check the mvnw files in? Can't you create the mvnw resources as part of creating the stack image?

closing this in favour of PR #253

authors: ebullient neeraj-laad

repo: appsody/stacks


text:
🐛 Bug Report: Browser and device image broken in project Auth - User sssions

👟 Reproduction steps

I made a session for a user from React Native Android application
👍 Expected behavior
Some Image should be there
👎 Actual Behavior
Image is not there
🎲 Appwrite version
Appwrite Cloud
💻 Operating system
Windows
🧱 Your Environment
No response
👀 Have you spent some time to check if this issue has been raised before?

[X] I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

[X] I have read the Code of Conduct

@mbos2 thank you for the feedback :smile:
I'll check if this is already fixed in the self-hosted version. Otherwise, there might be the need to add a fallback :+1:

repo: appwrite/console


text:
Keyless clone

Description

Test Plan

Related Links

@heliuchuan can we close it?

repo: aptos-labs/aptos-ts-sdk


text:
Create an influxDB connector for OceanSense

Add a new connector to fetch data from an influxDatabase from OceanSense.
We would like to link Aqualink Sites to Ocean Sense sensors. Similar to what we are doing with Sofar, given a SensorID, we would like to fetch data every 10min or so to ingest into our database. The data includes new metrics such as pH.
@drewjgray could you share a bit more details on the data structure? Or some code you already have maybe?
Note - The influxDB connector should be generic enough to be re-used for other sensors in the future.

@drewjgray is this still useful or should we simply rely on the firebase functions you created?

repo: aqualinkorg/aqualink-app

license: MIT


text:
Update finnhub.py

fix

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

authors: CLAassistant JimAWiredu

repo: aquasecurity/leaky-repo


text:
Handling of runtime events

#118 Handling of runtime events

@jerbia Should I merge this PR into main?

repo: aquasecurity/postee


text:
terraform plan always shows 'update in-place' even when there are no changes to be deployed

Hi all,
After creating an enforcer group with terraform, whenever we execute terraform plan, regardless if we changed something or not, it shows the following:
Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
  ~ update in-place

Terraform will perform the following actions:

  # aquasec_enforcer_groups.this will be updated in-place
  ~ resource "aquasec_enforcer_groups" "this" {
        id                                             = "enforcer"
      + logical_name                                   = "enforcer"
        # (50 unchanged attributes hidden)

        # (1 unchanged block hidden)
    }

Plan: 0 to add, 1 to change, 0 to destroy.

In this case, there have been no changes to the logical_name, but still plan shows that this field is going to be updated.
This bug results in a polluted plan, which makes things harder to review
Affected Resource(s)
Please list the resources as a list, for example:

aquasec_enforcer_groups

Terraform version:
Terraform v1.2.8
on darwin_arm64

provider registry.terraform.io/aquasecurity/aquasec v0.8.14

Hi @violiveira  can you please share the relavant tf code part?

authors: violiveira yossig-aquasec

repo: aquasecurity/terraform-provider-aquasec