StackOverflow Questions for Tag: liskov-substitution-principle

Right leg
Right leg

Reputation: 16730

Mypy accepts an incompatible type in __init__ override

Score: 4

Views: 1505

Answers: 2

Read More
ilovewt
ilovewt

Reputation: 1023

List is invariant because it violates LSP?

Score: 1

Views: 222

Answers: 0

Read More
kFYatek
kFYatek

Reputation: 5903

Why doesn't Rust support trait object upcasting?

Score: 86

Views: 24944

Answers: 6

Read More

Unity C# - Liskov Substitution Principle

Score: 0

Views: 105

Answers: 0

Read More
matthewbolds
matthewbolds

Reputation: 99

C# compile error trying to apply Liskov Substitution Principle

Score: 2

Views: 217

Answers: 2

Read More
Dmitrii Moskin
Dmitrii Moskin

Reputation: 1

After upgrading neovim to 0.10, coc-flutter has started displaying parameters types in a weird way

Score: 0

Views: 253

Answers: 1

Read More
Navneet Garg
Navneet Garg

Reputation: 1374

Liskov Substitution Principle Violation Rules

Score: 2

Views: 190

Answers: 2

Read More
Artur
Artur

Reputation: 129

Liskov substitution principle - example

Score: 0

Views: 455

Answers: 1

Read More
YnwrdCreso
YnwrdCreso

Reputation: 1

disable task tag [TODO] jdtls [nvim, cmp, lua]

Score: 0

Views: 131

Answers: 1

Read More
user16276760
user16276760

Reputation:

Why does this class hierarchy violate LSP?

Score: 1

Views: 101

Answers: 1

Read More
Sayantan Bar
Sayantan Bar

Reputation: 11

How do i install tsserver on Lazyvim?

Score: 1

Views: 5271

Answers: 2

Read More
riki
riki

Reputation: 2403

Is this breaking LSP - Post condition rule

Score: 0

Views: 90

Answers: 1

Read More
riki
riki

Reputation: 2403

What is not a covariant in OOPS

Score: 0

Views: 67

Answers: 2

Read More
riki
riki

Reputation: 2403

Covariant rule is important in LSP? And how does it impacts the client?

Score: 0

Views: 44

Answers: 0

Read More
Kevin. Perez
Kevin. Perez

Reputation: 1

How to select closed 2d polylines that don't have an specific block inside Autocad

Score: -1

Views: 113

Answers: 1

Read More
Bas
Bas

Reputation: 2210

Violation of the LSP-principle using extra constructor parameters in subtypes

Score: 3

Views: 680

Answers: 4

Read More
ilovewt
ilovewt

Reputation: 1023

Can we provide an example and motivation on when to use covariant and contravariant?

Score: 0

Views: 150

Answers: 1

Read More
pchlyx
pchlyx

Reputation: 21

How to type hint factories in subclasses

Score: 2

Views: 85

Answers: 1

Read More
Yunky
Yunky

Reputation: 11

Module "lspconfig not found"

Score: 1

Views: 1464

Answers: 1

Read More
sashkins
sashkins

Reputation: 931

Does the Prototype pattern violate the Liskov substitution principle?

Score: 1

Views: 1066

Answers: 1

Read More
PreviousPage 2Next