fejesjoco

Results 11 issues of fejesjoco

**Describe the bug** I wanted to investigate a problem about the ordering of fields inside a protobuf. I thought that the ordering is wrong, but CyberChef displayed them in order....

bug

Consider this sample: ``` open class Foo { open suspend fun check(s: String): Int { delay(1) return s.length } } @Test fun bad() = runBlocking { val foospy = spy(Foo())...

https://www.polymer-project.org/1.0/docs/devguide/properties#configuring-boolean-properties says: > For a Boolean property to be configurable from markup, it must default to false. If it defaults to true, you cannot set it to false from markup,...

source: hooli

### Description Set up a paper-tabs, then change the title of a tab. ### Expected outcome The underline follows the changes. ### Actual outcome The underline does not follow the...

source: hooli

The colors in color.html are defined as "#AABBCC" color values. The material design spec specifies a lot of text to have opacity. What that means is that currently we have...

source: hooli

paper-dialog is using shared styles, one of which is quite significant, it includes some space between elements: https://github.com/PolymerElements/paper-dialog-behavior/blob/618b72d/paper-dialog-shared-styles.html#L47 paper-dialog-scrollable doesn't have that. So if I put multiple rows of content...

needs move

**Describe the bug** I frequently have to deal with generating big function bodies, where I resort to composing multiple smaller CodeBlock's together. In these cases it can happen that a...

enhancement
PR welcome

**Sample code** ``` fun main() { val prop1 = PropertySpec.builder("prop1", String::class) //.initializer("prop1") .addModifiers(KModifier.PRIVATE) .addAnnotation(AnnotationSpec.builder(Suppress::class).addMember("%S", "ann1_prop").build()) .build() val param1 = ParameterSpec.builder("prop1", String::class).build() val prop2 = PropertySpec.builder("prop2", String::class) //.initializer("prop2") .addModifiers(KModifier.PRIVATE) .build() val...

enhancement

This is just a cosmetic issue but somehow bothering me a lot. CodeBlock's can be built in two ways: builder methods like addStatement() and beginControlFlow(), and strings in add(). When...

enhancement
PR welcome

**Describe the bug** When I use .callThisConstructor to have one constructor call another one, it looks formatting was forgotten. **To Reproduce** ``` TypeSpec.classBuilder("HelloWorld") .addFunction( FunSpec.constructorBuilder() .addParameter("x".repeat(30), String::class) .addParameter("y".repeat(30), String::class) .callThisConstructor(...

bug
PR welcome