Skip to content

Instantly share code, notes, and snippets.

org.jetbrains.kotlin.idea.caches.resolve.KotlinIdeaResolutionException: Kotlin resolution encountered a problem while analyzing KtLambdaExpression
at org.jetbrains.kotlin.idea.caches.resolve.ResolutionFacadeWithDebugInfo.analyze(ResolutionFacadeWithDebugInfo.kt:43)
at org.jetbrains.kotlin.idea.caches.resolve.ExtendedResolutionApiKt.analyze(extendedResolutionApi.kt:105)
at org.jetbrains.kotlin.idea.caches.resolve.ResolutionUtils.analyze(resolutionApi.kt:127)
at org.jetbrains.kotlin.idea.parameterInfo.LambdaImpicitHintsKt.provideLambdaImplicitHints(LambdaImpicitHints.kt:23)
at org.jetbrains.kotlin.idea.codeInsight.hints.HintType$LAMBDA_IMPLICIT_PARAMETER_RECEIVER.provideHintDetails(HintType.kt:118)
at org.jetbrains.kotlin.idea.codeInsight.hints.KotlinAbstractHintsProvider$getCollectorFor$1.collect(KotlinAbstractHintsProvider.kt:48)
at com.intellij.codeInsight.hints.CollectorWithSettings.collectHints(InlayHintsUtils.kt:70)
at com.intellij.codeInsight.hints.InlayHintsPass$doCollectInformation$1.process(In
@mezz
mezz / create_gist.md
Last active March 21, 2024 23:04
Creating a Gist and getting the URL

Gist is a service hosted by GitHub that lets you paste unlimited amounts of text if you have a GitHub account.
This document explains how to create a Gist from a text document so that you can share it with others.

Manually:

It is simple to create a gist from a text file.

Tech-Savvy Instructions

  1. Copy-paste the contents of the text file to the large text box on https://gist.github.com
  2. Create a public gist and copy the browser's url.
Caused by: java.lang.IllegalStateException: Missing required tags: ResourceKey[minecraft:root / minecraft:item]:forestry:backpack/allow/adventurer,ResourceKey[minecraft:root / minecraft:item]:forestry:backpack/allow/builder,ResourceKey[minecraft:root / minecraft:item]:forestry:backpack/allow/digger,ResourceKey[minecraft:root / minecraft:item]:forestry:backpack/allow/forester,ResourceKey[minecraft:root / minecraft:item]:forestry:backpack/allow/hunter,ResourceKey[minecraft:root / minecraft:item]:forestry:backpack/allow/miner,ResourceKey[minecraft:root / minecraft:item]:forestry:backpack/reject/adventurer,ResourceKey[minecraft:root / minecraft:item]:forestry:backpack/reject/builder,ResourceKey[minecraft:root / minecraft:item]:forestry:backpack/reject/digger,ResourceKey[minecraft:root / minecraft:item]:forestry:backpack/reject/forester,ResourceKey[minecraft:root / minecraft:item]:forestry:backpack/reject/hunter,ResourceKey[minecraft:root / minecraft:item]:forestry:backpack/reject/miner,ResourceKey[minecraft:root
@mezz
mezz / bootstrap.gradle
Created January 3, 2017 21:09 — forked from cpw/bootstrap.gradle
This makes gradle compile java6 stuff with the actual java 6 classpath. --- Usage: Drop this file in USER_HOME/.gradle/init.d --- You will probably want to change the path to your java6 instance.
allprojects {
afterEvaluate {
def versions = [
'1.6' : "/usr/lib/jvm/java-6-openjdk-amd64/jre/lib/",
'1.7' : "/usr/lib/jvm/jdk-7-oracle-x64/jre/lib/",
'1.8' : "/usr/lib/jvm/jdk-8-oracle-x64/jre/lib/",
]
// convert map to classpaths
versions = versions.collectEntries { key, value ->
FORESTRY INDIVIDUAL CONTRIBUTOR LICENSE AGREEMENT
Thank you for your interest in contributing to Forestry ("We" or "Us").
This contributor agreement ("Agreement") documents the rights granted by contributors to Us. To make this document effective, please sign it and send it to Us by electronic submission using CLA Assistant (https://cla-assistant.io/). This is a legally binding document, so please read it carefully before agreeing to it. The Agreement may cover more than one software project managed by Us.
1. Definitions
"You" means the individual who Submits a Contribution to Us.
@mezz
mezz / Dalekfile.json
Last active August 29, 2015 14:04
IE Testing
{
"browsers": [
{
"ie11Win7": {
"platform": "Windows 7",
"actAs": "internet explorer",
"version": 11
},
"ie10Win7": {
"platform": "Windows 7",
@mezz
mezz / simpleTest.js
Created July 31, 2014 23:30
simpleTest.js
'use strict';
module.exports = {
'Google Exists': function (test) {
test.open('http://www.google.com')
.wait(10000)
.assert.visible('#main')
.done();
},
'Google still Exists' : function (test) {