Skip to content

Commit

Permalink
Fail to build on duplicate selectors
Browse files Browse the repository at this point in the history
  • Loading branch information
rory-ocl committed Aug 1, 2024
1 parent 17fc86a commit 92b086c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions stylus-proc/src/methods/external.rs
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,7 @@ pub fn external(_attr: TokenStream, input: TokenStream) -> TokenStream {
type Storage = Self;

#[inline(always)]
#[deny(unreachable_patterns)]
fn route(storage: &mut S, selector: u32, input: &[u8]) -> Option<stylus_sdk::ArbResult> {
use stylus_sdk::{function_selector, alloy_sol_types::SolType};
use stylus_sdk::abi::{internal, internal::EncodableReturnType, AbiType, Router};
Expand Down

0 comments on commit 92b086c

Please sign in to comment.